aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-26 06:23:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-26 06:23:32 +0000
commitb098bd68748ef059c6a1f65b19b65c3aeef2b2b0 (patch)
treef18d4db2e3dfa5e42dd0e91462d665efad563633 /target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
parent0ca65fd7bf04d9e654dbf3a6f448f2141d47f76b (diff)
downloadmaster-187ad058-b098bd68748ef059c6a1f65b19b65c3aeef2b2b0.tar.gz
master-187ad058-b098bd68748ef059c6a1f65b19b65c3aeef2b2b0.tar.bz2
master-187ad058-b098bd68748ef059c6a1f65b19b65c3aeef2b2b0.zip
ixp4xx: clean up patches, fold the 2.6.37 update patch into the relevant board support patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25727 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
index 1dc2690ac1..4d399f75dc 100644
--- a/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/295-latch_led_driver.patch
@@ -1,8 +1,8 @@
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
-@@ -176,6 +176,13 @@ config LEDS_LP3944
- To compile this driver as a module, choose M here: the
- module will be called leds-lp3944.
+@@ -210,6 +210,13 @@ config LEDS_LP5523
+ Driver provides direct control via LED class and interface for
+ programming the engines.
+config LEDS_LATCH
+ tristate "LED Support for Memory Latched LEDs"
@@ -13,7 +13,7 @@
+
config LEDS_CLEVO_MAIL
tristate "Mail LED on Clevo notebook"
- depends on X86 && SERIO_I8042 && DMI
+ depends on LEDS_CLASS
--- /dev/null
+++ b/drivers/leds/leds-latch.c
@@ -0,0 +1,150 @@
@@ -175,11 +175,11 @@
obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
+obj-$(CONFIG_LEDS_LATCH) += leds-latch.o
obj-$(CONFIG_LEDS_LP3944) += leds-lp3944.o
- obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o
- obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
+ obj-$(CONFIG_LEDS_LP5521) += leds-lp5521.o
+ obj-$(CONFIG_LEDS_LP5523) += leds-lp5523.o
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
-@@ -165,5 +165,19 @@ struct gpio_led_platform_data {
+@@ -204,5 +204,19 @@ struct gpio_led_platform_data {
unsigned long *delay_off);
};