diff options
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.patch | 12 |
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 0000000..e19144c --- /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; |