diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-02-17 10:11:42 +0100 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-04-05 00:32:23 +0200 |
commit | 3446d4bb93b4d8c7c5b667dd0271669f012fb166 (patch) | |
tree | 26018a7591d80c087d1619dd805eda272299e26f /drivers/mfd/twl4030-irq.c | |
parent | 47c10edd715d420cabd8622a4a458e9ac755b24d (diff) | |
download | linux-3446d4bb93b4d8c7c5b667dd0271669f012fb166.tar.gz linux-3446d4bb93b4d8c7c5b667dd0271669f012fb166.tar.bz2 linux-3446d4bb93b4d8c7c5b667dd0271669f012fb166.zip |
mfd: Storage class should be before const qualifier
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd/twl4030-irq.c')
-rw-r--r-- | drivers/mfd/twl4030-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index b10876036983..aca2670afd78 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -182,7 +182,7 @@ static int twl4030_irq_thread(void *data) long irq = (long)data; struct irq_desc *desc = irq_to_desc(irq); static unsigned i2c_errors; - const static unsigned max_i2c_errors = 100; + static const unsigned max_i2c_errors = 100; if (!desc) { pr_err("twl4030: Invalid IRQ: %ld\n", irq); |