diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-05-30 16:32:35 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-05-30 16:32:35 +0000 |
commit | 30d336cfc5e67d66ed19a84223a9215f42c30135 (patch) | |
tree | a44f1bdee35d9e09d2e6e49a8f3109228aa2a7cf /target/linux/ixp4xx/patches-2.6.25/295-latch_led_driver.patch | |
parent | 48983d35d70395a391026c8f8bb1f44165ce058e (diff) |
refresh ixp4xx patches to match upstream style
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11297 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.25/295-latch_led_driver.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.25/295-latch_led_driver.patch | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.25/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.25/295-latch_led_driver.patch index 7733abc596..0266aa253f 100644 --- a/target/linux/ixp4xx/patches-2.6.25/295-latch_led_driver.patch +++ b/target/linux/ixp4xx/patches-2.6.25/295-latch_led_driver.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.25.4/drivers/leds/Kconfig -=================================================================== ---- linux-2.6.25.4.orig/drivers/leds/Kconfig -+++ linux-2.6.25.4/drivers/leds/Kconfig -@@ -125,6 +125,12 @@ config LEDS_GPIO +--- a/drivers/leds/Kconfig ++++ b/drivers/leds/Kconfig +@@ -125,6 +125,12 @@ outputs. To be useful the particular board must have LEDs and they must be connected to the GPIO lines. @@ -15,10 +13,8 @@ Index: linux-2.6.25.4/drivers/leds/Kconfig config LEDS_CM_X270 tristate "LED Support for the CM-X270 LEDs" depends on LEDS_CLASS && MACH_ARMCORE -Index: linux-2.6.25.4/drivers/leds/leds-latch.c -=================================================================== --- /dev/null -+++ linux-2.6.25.4/drivers/leds/leds-latch.c ++++ b/drivers/leds/leds-latch.c @@ -0,0 +1,141 @@ +/* + * LEDs driver for Memory Latched Devices @@ -161,11 +157,9 @@ Index: linux-2.6.25.4/drivers/leds/leds-latch.c +MODULE_AUTHOR("Chris Lang <clang@gateworks.com>"); +MODULE_DESCRIPTION("Latch LED driver"); +MODULE_LICENSE("GPL"); -Index: linux-2.6.25.4/drivers/leds/Makefile -=================================================================== ---- linux-2.6.25.4.orig/drivers/leds/Makefile -+++ linux-2.6.25.4/drivers/leds/Makefile -@@ -19,6 +19,7 @@ obj-$(CONFIG_LEDS_H1940) += leds-h1940. +--- a/drivers/leds/Makefile ++++ b/drivers/leds/Makefile +@@ -19,6 +19,7 @@ obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o @@ -173,11 +167,9 @@ Index: linux-2.6.25.4/drivers/leds/Makefile obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o -Index: linux-2.6.25.4/include/linux/leds.h -=================================================================== ---- linux-2.6.25.4.orig/include/linux/leds.h -+++ linux-2.6.25.4/include/linux/leds.h -@@ -136,5 +136,18 @@ struct gpio_led_platform_data { +--- a/include/linux/leds.h ++++ b/include/linux/leds.h +@@ -136,5 +136,18 @@ struct gpio_led *leds; }; |