projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
[openwrt.git]
/
target
/
linux
/
ixp4xx
/
patches-2.6.32
/
295-latch_led_driver.patch
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
853636d
..
4bb9073
100644
(file)
--- 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
depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI
--- /dev/null
+++ b/drivers/leds/leds-latch.c
-@@ -0,0 +1,1
49
@@
+@@ -0,0 +1,1
50
@@
+/*
+ * LEDs driver for Memory Latched Devices
+ *
+/*
+ * LEDs driver for Memory Latched Devices
+ *
@@
-35,6
+35,7
@@
+#include <linux/workqueue.h>
+#include <asm/io.h>
+#include <linux/spinlock.h>
+#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;
+
+static unsigned int mem_keep = 0xFF;
+static spinlock_t mem_lock;
This page took
0.023334 seconds
and
4
git commands to generate.