summaryrefslogtreecommitdiff
path: root/target/linux/atheros
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-10-15 15:06:32 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-10-15 15:06:32 +0000
commitc4541431779b70fdf55de91ce735caa7404a68bd (patch)
tree81e27535d5e549bc3fbad56ea087eccea8e3d323 /target/linux/atheros
parentfff6712a9e09c4a6b05556b131ce26bd3083138a (diff)
downloadmtk-20170518-c4541431779b70fdf55de91ce735caa7404a68bd.zip
mtk-20170518-c4541431779b70fdf55de91ce735caa7404a68bd.tar.gz
mtk-20170518-c4541431779b70fdf55de91ce735caa7404a68bd.tar.bz2
linux/atheros: fix another 2.6.36 patch issue
SVN-Revision: 23456
Diffstat (limited to 'target/linux/atheros')
-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 4861b11..e19144c 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;