openwrtv3/target/linux/atheros/patches-2.6.35/211-reset_button-2.6.35.patch
Alexandros C. Couloumbis d7dc747324 atheros: add kernel 2.6.35 preliminary support
SVN-Revision: 21703
2010-06-08 15:01:35 +00:00

12 lines
358 B
Diff

--- 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;