aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-08 15:01:35 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-08 15:01:35 +0000
commitba30477904a43f470e84b32316efd482e2c32417 (patch)
tree415e358edf98c0c6067e65c53d790b9432d3e4ae /target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.patch
parent2185de61e6cd72ba28b9e47425a5c4b8ff2b2597 (diff)
downloadupstream-ba30477904a43f470e84b32316efd482e2c32417.tar.gz
upstream-ba30477904a43f470e84b32316efd482e2c32417.tar.bz2
upstream-ba30477904a43f470e84b32316efd482e2c32417.zip
atheros: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21703 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.patch')
-rw-r--r--target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.patch b/target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.patch
new file mode 100644
index 0000000000..6cf51502bc
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.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;
++extern struct sock *uevent_sock = NULL;
++EXPORT_SYMBOL_GPL(uevent_sock);
+ extern u64 uevent_next_seqnum(void);
+
+ static int no_release_workaround = 1;