summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.34
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-08-14 21:07:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-08-14 21:07:34 +0000
commit1a7021b3eab6d4a0d647af42b5f0b6aca57cbe1c (patch)
tree148fc82131f7d05c99307f0078639ff2c644911d /target/linux/ixp4xx/patches-2.6.34
parente35f7ef51dd52ecb52e78e921ca5c5aabd7e2d30 (diff)
downloadmtk-20170518-1a7021b3eab6d4a0d647af42b5f0b6aca57cbe1c.zip
mtk-20170518-1a7021b3eab6d4a0d647af42b5f0b6aca57cbe1c.tar.gz
mtk-20170518-1a7021b3eab6d4a0d647af42b5f0b6aca57cbe1c.tar.bz2
ixp4xx: include linux/slab.h in the latch LED driver
SVN-Revision: 22645
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.34')
-rw-r--r--target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch3
1 files changed, 2 insertions, 1 deletions
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 64be0c3..e173ac6 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;