From: Gabor Juhos Date: Sat, 14 Aug 2010 21:07:34 +0000 (+0000) Subject: ixp4xx: include linux/slab.h in the latch LED driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1a7021b3eab6d4a0d647af42b5f0b6aca57cbe1c;p=openwrt%2Fstaging%2Fluka.git ixp4xx: include linux/slab.h in the latch LED driver SVN-Revision: 22645 --- diff --git a/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch index 853636d316..4bb9073881 100644 --- a/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch +++ b/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch @@ -16,7 +16,7 @@ depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI --- /dev/null +++ b/drivers/leds/leds-latch.c -@@ -0,0 +1,149 @@ +@@ -0,0 +1,150 @@ +/* + * LEDs driver for Memory Latched Devices + * @@ -35,6 +35,7 @@ +#include +#include +#include ++#include + +static unsigned int mem_keep = 0xFF; +static spinlock_t mem_lock; diff --git a/target/linux/ixp4xx/patches-2.6.33/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.33/295-latch_led_driver.patch index 64be0c3091..e173ac6e4e 100644 --- a/target/linux/ixp4xx/patches-2.6.33/295-latch_led_driver.patch +++ b/target/linux/ixp4xx/patches-2.6.33/295-latch_led_driver.patch @@ -16,7 +16,7 @@ depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI --- /dev/null +++ b/drivers/leds/leds-latch.c -@@ -0,0 +1,149 @@ +@@ -0,0 +1,150 @@ +/* + * LEDs driver for Memory Latched Devices + * @@ -35,6 +35,7 @@ +#include +#include +#include ++#include + +static unsigned int mem_keep = 0xFF; +static spinlock_t mem_lock; diff --git a/target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch index 64be0c3091..e173ac6e4e 100644 --- a/target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch +++ b/target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch @@ -16,7 +16,7 @@ depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI --- /dev/null +++ b/drivers/leds/leds-latch.c -@@ -0,0 +1,149 @@ +@@ -0,0 +1,150 @@ +/* + * LEDs driver for Memory Latched Devices + * @@ -35,6 +35,7 @@ +#include +#include +#include ++#include + +static unsigned int mem_keep = 0xFF; +static spinlock_t mem_lock; diff --git a/target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch index 0468c958cf..2d15b7ec12 100644 --- a/target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch +++ b/target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch @@ -16,7 +16,7 @@ depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI --- /dev/null +++ b/drivers/leds/leds-latch.c -@@ -0,0 +1,149 @@ +@@ -0,0 +1,150 @@ +/* + * LEDs driver for Memory Latched Devices + * @@ -36,6 +36,7 @@ +#include +#include +#include ++#include + +static unsigned int mem_keep = 0xFF; +static spinlock_t mem_lock;