Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Wilczynski and committed by
Jacek Anaszewski
ba7eb84f 536129cc

+1 -1
+1 -1
drivers/leds/leds-ti-lmu-common.c
··· 11 11 12 12 #include <linux/leds-ti-lmu-common.h> 13 13 14 - const static unsigned int ramp_table[16] = {2048, 262000, 524000, 1049000, 14 + static const unsigned int ramp_table[16] = {2048, 262000, 524000, 1049000, 15 15 2090000, 4194000, 8389000, 16780000, 33550000, 16 16 41940000, 50330000, 58720000, 67110000, 17 17 83880000, 100660000, 117440000};