mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
leds: wm831x: add missing const
Fixed the checkpatch warning as below: WARNING: static const char * array should probably be static const char * const Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
This commit is contained in:
parent
d7789430de
commit
8a4529a38d
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ static int wm831x_status_blink_set(struct led_classdev *led_cdev,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *led_src_texts[] = {
|
static const char * const led_src_texts[] = {
|
||||||
"otp",
|
"otp",
|
||||||
"power",
|
"power",
|
||||||
"charger",
|
"charger",
|
||||||
|
|
Loading…
Add table
Reference in a new issue