diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-14 21:07:34 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-14 21:07:34 +0000 |
commit | 96de0c8f4f0cde6f720b7eccf3ca940fec472980 (patch) | |
tree | 471af57c356b2aed4a68105d376e282adc660283 /target/linux/ixp4xx | |
parent | 4ebeeb56349e090c6dc54f0de60b8fcf5b9f250a (diff) |
ixp4xx: include linux/slab.h in the latch LED driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22645 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx')
4 files changed, 8 insertions, 4 deletions
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 853636d31..4bb907388 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 <linux/workqueue.h> +#include <asm/io.h> +#include <linux/spinlock.h> ++#include <linux/slab.h> + +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 64be0c309..e173ac6e4 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 <linux/workqueue.h> +#include <asm/io.h> +#include <linux/spinlock.h> ++#include <linux/slab.h> + +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 64be0c309..e173ac6e4 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 <linux/workqueue.h> +#include <asm/io.h> +#include <linux/spinlock.h> ++#include <linux/slab.h> + +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 0468c958c..2d15b7ec1 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 <linux/workqueue.h> +#include <asm/io.h> +#include <linux/spinlock.h> ++#include <linux/slab.h> + +static unsigned int mem_keep = 0xFF; +static spinlock_t mem_lock; |