mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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>
This commit is contained in:
parent
fae5e033d6
commit
c646e2b115
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ static void max8997_irq_sync_unlock(struct irq_data *data)
|
||||||
mutex_unlock(&max8997->irqlock);
|
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)
|
irq_to_max8997_irq(struct max8997_dev *max8997, struct irq_data *data)
|
||||||
{
|
{
|
||||||
return &max8997_irqs[data->hwirq];
|
return &max8997_irqs[data->hwirq];
|
||||||
|
|
Loading…
Add table
Reference in a new issue