Re: [PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration

2016-09-15 Thread Arnd Bergmann
On Thursday, September 15, 2016 11:45:15 AM CEST Lee Jones wrote: > -static const inline struct max8997_irq_data * > +inline static const struct max8997_irq_data * I think this causes another warning, the order should be "stastic inline const struct max8997_irq_data". Arnd

Re: [PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration

2016-09-15 Thread Arnd Bergmann
On Thursday, September 15, 2016 11:45:15 AM CEST Lee Jones wrote: > -static const inline struct max8997_irq_data * > +inline static const struct max8997_irq_data * I think this causes another warning, the order should be "stastic inline const struct max8997_irq_data". Arnd

[PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration

2016-09-15 Thread Lee Jones
Reported by [-Wold-style-declaration]. Signed-off-by: Lee Jones --- drivers/mfd/max8997-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max8997-irq.c b/drivers/mfd/max8997-irq.c index b95a46d7..326f17b 100644 ---

[PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration

2016-09-15 Thread Lee Jones
Reported by [-Wold-style-declaration]. Signed-off-by: Lee Jones --- drivers/mfd/max8997-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max8997-irq.c b/drivers/mfd/max8997-irq.c index b95a46d7..326f17b 100644 --- a/drivers/mfd/max8997-irq.c +++