diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-03-22 16:30:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 17:43:59 -0700 |
commit | 9517f925f2eb9ffca78b3f0f9389fc675bcb572c (patch) | |
tree | e2750ab7bdc19cba2f17ce2d479e4abd6468cd61 /include/linux/leds.h | |
parent | b1e6b7068f026e88257c20522555c78122e5a14d (diff) | |
download | blackbird-obmc-linux-9517f925f2eb9ffca78b3f0f9389fc675bcb572c.tar.gz blackbird-obmc-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 'include/linux/leds.h')
-rw-r--r-- | include/linux/leds.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index 0f19df9e37b0..383811d9af83 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -194,11 +194,11 @@ struct gpio_led { struct gpio_led_platform_data { int num_leds; - struct gpio_led *leds; + const struct gpio_led *leds; #define GPIO_LED_NO_BLINK_LOW 0 /* No blink GPIO state low */ #define GPIO_LED_NO_BLINK_HIGH 1 /* No blink GPIO state high */ -#define GPIO_LED_BLINK 2 /* Plase, blink */ +#define GPIO_LED_BLINK 2 /* Please, blink */ int (*gpio_blink_set)(unsigned gpio, int state, unsigned long *delay_on, unsigned long *delay_off); |