diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-14 16:41:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-14 16:41:33 +0000 |
commit | d78864ef7c7b550de88f8494fed22bf6854c6627 (patch) | |
tree | 1a38200fe1a33cb965650ca687167175938fbedd /target/linux/au1000-2.6/patches/006-mtx1_system_button.patch | |
parent | 881d8c8f18644c9dbebd14b0783ee56782964bce (diff) | |
download | master-187ad058-d78864ef7c7b550de88f8494fed22bf6854c6627.tar.gz master-187ad058-d78864ef7c7b550de88f8494fed22bf6854c6627.tar.bz2 master-187ad058-d78864ef7c7b550de88f8494fed22bf6854c6627.zip |
Upgrade to Linux 2.6.19
- Includes large parts of the patch from #1021 by dpalffy
- Includes RB532 NAND driver changes by n0-1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5789 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000-2.6/patches/006-mtx1_system_button.patch')
-rw-r--r-- | target/linux/au1000-2.6/patches/006-mtx1_system_button.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 511df2c8da..f4d380c729 100644 --- 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. + */ -+#include <linux/config.h> ++#include <linux/autoconf.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 ]----------------- + + -+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) |