projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[adm5120] rewrite of memory detection code, should be fix #1909
[openwrt.git]
/
target
/
linux
/
au1000-2.6
/
patches
/
006-mtx1_system_button.patch
diff --git
a/target/linux/au1000-2.6/patches/006-mtx1_system_button.patch
b/target/linux/au1000-2.6/patches/006-mtx1_system_button.patch
index
511df2c
..
f4d380c
100644
(file)
--- a/
target/linux/au1000-2.6/patches/006-mtx1_system_button.patch
+++ b/
target/linux/au1000-2.6/patches/006-mtx1_system_button.patch
@@
-47,7
+47,7
@@
diff -urN linux-2.6.16.7/arch/mips/au1000/mtx-1/mtx-1_sysbtn.c linux-2.6.16.7.ne
+ * that can be read. It returns one char '1' if the button
+ * has been pressed an '0' if it has been released.
+ */
+ * that can be read. It returns one char '1' if the button
+ * has been pressed an '0' if it has been released.
+ */
-+#include <linux/
config
.h>
++#include <linux/
autoconf
.h>
+#include <linux/module.h>
+#include <linux/version.h>
+#include <linux/types.h>
+#include <linux/module.h>
+#include <linux/version.h>
+#include <linux/types.h>
@@
-108,7
+108,7
@@
diff -urN linux-2.6.16.7/arch/mips/au1000/mtx-1/mtx-1_sysbtn.c linux-2.6.16.7.ne
+//---------[ Interrupt handling ]-----------------
+
+
+//---------[ Interrupt handling ]-----------------
+
+
-+static void mtx1_btn_interrupt (int irq, void *private
, struct pt_regs *regs
)
++static void mtx1_btn_interrupt (int irq, void *private)
+{
+ char value = mtx1_getbtn(0);
+ if (last_value != value)
+{
+ char value = mtx1_getbtn(0);
+ if (last_value != value)
This page took
0.020403 seconds
and
4
git commands to generate.