aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.37/211-reset_button-2.6.36.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-08 11:12:59 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-08 11:12:59 +0000
commitf0872f8b4053e37892411598bbbafcea73b4a82a (patch)
treea1b813aa176648af05ab70ba2a69716bbac0795a /target/linux/atheros/patches-2.6.37/211-reset_button-2.6.36.patch
parentb244e45af012a9714628858b7e4d12fff7b7cada (diff)
downloadmaster-187ad058-f0872f8b4053e37892411598bbbafcea73b4a82a.tar.gz
master-187ad058-f0872f8b4053e37892411598bbbafcea73b4a82a.tar.bz2
master-187ad058-f0872f8b4053e37892411598bbbafcea73b4a82a.zip
linux/atheros: add preliminary 2.6.37 kernel support (thank you nbd, florian)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23928 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.37/211-reset_button-2.6.36.patch')
-rw-r--r--target/linux/atheros/patches-2.6.37/211-reset_button-2.6.36.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.37/211-reset_button-2.6.36.patch b/target/linux/atheros/patches-2.6.37/211-reset_button-2.6.36.patch
new file mode 100644
index 0000000000..e19144cc12
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.37/211-reset_button-2.6.36.patch
@@ -0,0 +1,12 @@
+--- a/arch/mips/ar231x/reset.c
++++ b/arch/mips/ar231x/reset.c
+@@ -24,7 +24,8 @@ struct event_t {
+ static struct timer_list rst_button_timer;
+ static unsigned long seen;
+
+-extern struct sock *uevent_sock;
++struct sock *uevent_sock = NULL;
++EXPORT_SYMBOL_GPL(uevent_sock);
+ extern u64 uevent_next_seqnum(void);
+
+ static int no_release_workaround = 1;