]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
leds: ti-lmu-common: Move static keyword to the front of declaration
authorKrzysztof Wilczynski <kw@linux.com>
Fri, 30 Aug 2019 18:11:04 +0000 (20:11 +0200)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Tue, 3 Sep 2019 18:34:46 +0000 (20:34 +0200)
Move the static keyword to the front of declaration of ramp_table,
and resolve the following compiler warning that can be seen when
building with warnings enabled (W=1):

drivers/leds/leds-ti-lmu-common.c:14:1: warning:
  â€˜static’ is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-ti-lmu-common.c

index e294a0b097e376312fdb40b1e9f92fe0f303a55f..d7f10ad721badc62bd79c72c060deddf87d4a77b 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <linux/leds-ti-lmu-common.h>
 
-const static unsigned int ramp_table[16] = {2048, 262000, 524000, 1049000,
+static const unsigned int ramp_table[16] = {2048, 262000, 524000, 1049000,
                                2090000, 4194000, 8389000, 16780000, 33550000,
                                41940000, 50330000, 58720000, 67110000,
                                83880000, 100660000, 117440000};