Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483967

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

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration
Date 2016-09-15 12:50 +0200
Message-ID <shCoW-5Sc-25@gated-at.bofh.it> (permalink)
References <shCoW-5Sc-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Reported by [-Wold-style-declaration].

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 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
+++ b/drivers/mfd/max8997-irq.c
@@ -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];
-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration Lee Jones <lee.jones@linaro.org> - 2016-09-15 12:50 +0200
  Re: [PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration Arnd Bergmann <arnd@arndb.de> - 2016-09-15 13:30 +0200

csiph-web