Skip to content

Commit

Permalink
leds: Fix leds-gpio openfirmware compile issue
Browse files Browse the repository at this point in the history
Fix a compile issue when openfirmware is enabled from commit
2146325.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
  • Loading branch information
Richard Purdie committed May 28, 2010
1 parent 37814fd commit 5f8269d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/leds/leds-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5f8269d

Please sign in to comment.