Skip to content

Commit c646e2b

Browse files
author
Lee Jones
committed
mfd: max8997-irq: 'inline' should be at the beginning of the declaration
Reported by [-Wold-style-declaration]. Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent fae5e03 commit c646e2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mfd/max8997-irq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static void max8997_irq_sync_unlock(struct irq_data *data)
139139
mutex_unlock(&max8997->irqlock);
140140
}
141141

142-
static const inline struct max8997_irq_data *
142+
inline static const struct max8997_irq_data *
143143
irq_to_max8997_irq(struct max8997_dev *max8997, struct irq_data *data)
144144
{
145145
return &max8997_irqs[data->hwirq];

0 commit comments

Comments
 (0)