leds: make *struct gpio_led_platform_data.leds const
And fix a typo. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
b1e6b7068f
commit
9517f925f2
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <asm/geode.h>
|
||||
|
||||
static struct gpio_led net5501_leds[] = {
|
||||
static const struct gpio_led net5501_leds[] = {
|
||||
{
|
||||
.name = "error",
|
||||
.gpio = 6,
|
||||
|
Reference in New Issue
Block a user