summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-15 15:06:32 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-15 15:06:32 +0000
commitfdb67f01dfbe2d6c79f7433f55baef1786d74d0c (patch)
tree1b21b33458922efcbd9cb2dc41646e536b003ba5 /target
parentdcbf9dbcbc7cf0c0a9dde00997a16dfac749ac6b (diff)
linux/atheros: fix another 2.6.36 patch issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23456 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros/patches-2.6.36/211-reset_button-2.6.36.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-2.6.36/211-reset_button-2.6.36.patch b/target/linux/atheros/patches-2.6.36/211-reset_button-2.6.36.patch
index 4861b112a..e19144cc1 100644
--- a/target/linux/atheros/patches-2.6.36/211-reset_button-2.6.36.patch
+++ b/target/linux/atheros/patches-2.6.36/211-reset_button-2.6.36.patch
@@ -1,11 +1,12 @@
--- a/arch/mips/ar231x/reset.c
+++ b/arch/mips/ar231x/reset.c
-@@ -24,7 +24,7 @@ struct event_t {
+@@ -24,7 +24,8 @@ struct event_t {
static struct timer_list rst_button_timer;
static unsigned long seen;
--extern struct sock *uevent_sock = NULL;
+-extern struct sock *uevent_sock;
+struct sock *uevent_sock = NULL;
- EXPORT_SYMBOL_GPL(uevent_sock);
++EXPORT_SYMBOL_GPL(uevent_sock);
extern u64 uevent_next_seqnum(void);
+ static int no_release_workaround = 1;