aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-gpio.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-05-27 09:04:36 -0400
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-28 03:35:27 -0400
commit5f8269da9c69dc3851f532af0d53693b521fdb91 (patch)
tree2fc3cf092676fdbe97ead0b67a5ddbd58c5fb9fe /drivers/leds/leds-gpio.c
parent37814fdc950281e9096a8b361a380edae237f486 (diff)
leds: Fix leds-gpio openfirmware compile issue
Fix a compile issue when openfirmware is enabled from commit 2146325df2c2640059a9e064890c30c6e259b458. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/leds/leds-gpio.c')
-rw-r--r--drivers/leds/leds-gpio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c
index 26843dd6b859..cc22eeefa10b 100644
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
@@ -250,7 +250,6 @@ static int __devinit of_gpio_leds_probe(struct of_device *ofdev,
250 led.gpio = of_get_gpio_flags(child, 0, &flags); 250 led.gpio = of_get_gpio_flags(child, 0, &flags);
251 led.active_low = flags & OF_GPIO_ACTIVE_LOW; 251 led.active_low = flags & OF_GPIO_ACTIVE_LOW;
252 led.name = of_get_property(child, "label", NULL) ? : child->name; 252 led.name = of_get_property(child, "label", NULL) ? : child->name;
253 led.blinking = 0;
254 led.default_trigger = 253 led.default_trigger =
255 of_get_property(child, "linux,default-trigger", NULL); 254 of_get_property(child, "linux,default-trigger", NULL);
256 state = of_get_property(child, "default-state", NULL); 255 state = of_get_property(child, "default-state", NULL);