summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-03-23 00:30:17 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 01:43:59 +0100
commit9517f925f2eb9ffca78b3f0f9389fc675bcb572c (patch)
treee2750ab7bdc19cba2f17ce2d479e4abd6468cd61 /drivers/leds
parentleds: add driver for LM3530 ALS (diff)
downloadlinux-9517f925f2eb9ffca78b3f0f9389fc675bcb572c.tar.xz
linux-9517f925f2eb9ffca78b3f0f9389fc675bcb572c.zip
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-net5501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-net5501.c b/drivers/leds/leds-net5501.c
index 1739557a9038..7e764b8365e6 100644
--- a/drivers/leds/leds-net5501.c
+++ b/drivers/leds/leds-net5501.c
@@ -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,