projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37814fd
)
leds: Fix leds-gpio openfirmware compile issue
author
Richard Purdie
<rpurdie@linux.intel.com>
Thu, 27 May 2010 13:04:36 +0000
(14:04 +0100)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Fri, 28 May 2010 07:35:27 +0000
(08:35 +0100)
Fix a compile issue when openfirmware is enabled from commit
2146325df2c2640059a9e064890c30c6e259b458
.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-gpio.c
b/drivers/leds/leds-gpio.c
index 26843dd6b85937068379da4b67f2d4e30e5d3f6a..cc22eeefa10bb1845b700771cf4b4317e05f0ba2 100644
(file)
--- 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,
led.gpio = of_get_gpio_flags(child, 0, &flags);
led.active_low = flags & OF_GPIO_ACTIVE_LOW;
led.name = of_get_property(child, "label", NULL) ? : child->name;
- led.blinking = 0;
led.default_trigger =
of_get_property(child, "linux,default-trigger", NULL);
state = of_get_property(child, "default-state", NULL);