summaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.35
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.35')
-rw-r--r--target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch3
1 files changed, 2 insertions, 1 deletions
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;