1 Index: linux-2.6.23/drivers/leds/leds-gpio.c
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/leds/leds-gpio.c
4 +++ linux-2.6.23/drivers/leds/leds-gpio.c
6 container_of(led_cdev, struct gpio_led_data, cdev);
9 - if (value == LED_OFF)
14 - if (led_dat->active_low)
18 + level = led_dat->active_low ? 1 : 0;
21 + level = led_dat->active_low ? 0 : 1;
28 /* setting GPIOs with I2C/etc requires a preemptible task context */
29 if (led_dat->can_sleep) {