Commit ba7eb84f authored by Krzysztof Wilczynski's avatar Krzysztof Wilczynski Committed by Jacek Anaszewski

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: default avatarKrzysztof Wilczynski <kw@linux.com>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent 536129cc
......@@ -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};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment