diff options
author | Krzysztof Wilczynski <kw@linux.com> | 2019-08-30 20:11:04 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2019-09-03 20:34:46 +0200 |
commit | ba7eb84f71692d6ece8d5782ab1658fe7f6c0cad (patch) | |
tree | 1df80ac11d67964fbf4b18039ca019ed8bb367b8 /drivers/leds/leds-ti-lmu-common.c | |
parent | leds: lm3532: Move static keyword to the front of declarations (diff) | |
download | linux-ba7eb84f71692d6ece8d5782ab1658fe7f6c0cad.tar.xz linux-ba7eb84f71692d6ece8d5782ab1658fe7f6c0cad.zip |
leds: ti-lmu-common: Move static keyword to the front of declaration
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>
Diffstat (limited to 'drivers/leds/leds-ti-lmu-common.c')
-rw-r--r-- | drivers/leds/leds-ti-lmu-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ti-lmu-common.c b/drivers/leds/leds-ti-lmu-common.c index e294a0b097e3..d7f10ad721ba 100644 --- a/drivers/leds/leds-ti-lmu-common.c +++ b/drivers/leds/leds-ti-lmu-common.c @@ -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}; |