Gitweb: http://git.kernel.org/linus/5f8269da9c69dc3851f532af0d53693b521fdb91 Commit: 5f8269da9c69dc3851f532af0d53693b521fdb91 Parent: 37814fdc950281e9096a8b361a380edae237f486 Author: Richard Purdie <rpurdie@linux.intel.com> AuthorDate: Thu May 27 14:04:36 2010 +0100 Committer: Richard Purdie <rpurdie@linux.intel.com> CommitDate: Fri May 28 08:35:27 2010 +0100 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> --- drivers/leds/leds-gpio.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 26843dd..cc22eee 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, 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); -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
