aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/040-backport_led_gpio_request_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.8/040-backport_led_gpio_request_fix.patch')
-rw-r--r--target/linux/generic/patches-3.8/040-backport_led_gpio_request_fix.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.8/040-backport_led_gpio_request_fix.patch b/target/linux/generic/patches-3.8/040-backport_led_gpio_request_fix.patch
index b00d813840..b54ce59e73 100644
--- a/target/linux/generic/patches-3.8/040-backport_led_gpio_request_fix.patch
+++ b/target/linux/generic/patches-3.8/040-backport_led_gpio_request_fix.patch
@@ -1,6 +1,6 @@
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
-@@ -107,6 +107,10 @@ static int create_gpio_led(const struct
+@@ -107,6 +107,10 @@ static int create_gpio_led(const struct
return 0;
}
@@ -11,7 +11,7 @@
led_dat->cdev.name = template->name;
led_dat->cdev.default_trigger = template->default_trigger;
led_dat->gpio = template->gpio;
-@@ -126,10 +130,7 @@ static int create_gpio_led(const struct
+@@ -126,10 +130,7 @@ static int create_gpio_led(const struct
if (!template->retain_state_suspended)
led_dat->cdev.flags |= LED_CORE_SUSPENDRESUME;