mfd: max8997-irq: 'inline' should be at the beginning of the declaration
authorLee Jones <lee.jones@linaro.org>
Wed, 14 Sep 2016 09:44:27 +0000 (10:44 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:05 +0000 (15:48 +0100)
Reported by [-Wold-style-declaration].

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8997-irq.c

index b95a46d79b9d3564e66d6ee7bdc37f8442ff3673..326f17b632a753a4f61e1c844c3406274d80bc0b 100644 (file)
@@ -139,7 +139,7 @@ static void max8997_irq_sync_unlock(struct irq_data *data)
        mutex_unlock(&max8997->irqlock);
 }
 
-static const inline struct max8997_irq_data *
+inline static const struct max8997_irq_data *
 irq_to_max8997_irq(struct max8997_dev *max8997, struct irq_data *data)
 {
        return &max8997_irqs[data->hwirq];