leds: make *struct gpio_led_platform_data.leds const

And fix a typo.

Signed-off-by: Uwe Kleine-König <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Uwe Kleine-König 2011-03-22 16:30:17 -07:00 • committed by Linus Torvalds
commit 9517f925f2
2 changed files with 3 additions and 3 deletions

View file

@ -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,