ixp4xx: include linux/slab.h in the latch LED driver
authorGabor Juhos <juhosg@openwrt.org>
Sat, 14 Aug 2010 21:07:34 +0000 (21:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 14 Aug 2010 21:07:34 +0000 (21:07 +0000)
SVN-Revision: 22645

target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch
target/linux/ixp4xx/patches-2.6.33/295-latch_led_driver.patch
target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch
target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch

index 853636d316b800ba67c41ecd1f38421a8c6ff12c..4bb90738812793fe070a4b778b491ffbb285d759 100644 (file)
@@ -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;
index 64be0c3091e7ae56d7c71f7ef5a26e3e1d2c1d2d..e173ac6e4e62f3b1f4dd5200731e61e8f44c0455 100644 (file)
@@ -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;
index 64be0c3091e7ae56d7c71f7ef5a26e3e1d2c1d2d..e173ac6e4e62f3b1f4dd5200731e61e8f44c0455 100644 (file)
@@ -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;
index 0468c958cf4d9d249b801be77a6dbefeb7e82c69..2d15b7ec12e524116be964d3fbc8162b08b258fc 100644 (file)
@@ -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;