Skip to content

Commit

Permalink
mfd: max8997-irq: 'inline' should be at the beginning of the declaration
Browse files Browse the repository at this point in the history
Reported by [-Wold-style-declaration].

Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Lee Jones committed Oct 4, 2016
1 parent fae5e03 commit c646e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/max8997-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit c646e2b

Please sign in to comment.