Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -1
+1 -1
drivers/mfd/max8997-irq.c
··· 139 139 mutex_unlock(&max8997->irqlock); 140 140 } 141 141 142 - static const inline struct max8997_irq_data * 142 + inline static const struct max8997_irq_data * 143 143 irq_to_max8997_irq(struct max8997_dev *max8997, struct irq_data *data) 144 144 { 145 145 return &max8997_irqs[data->hwirq];