1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 05:09:43 +02:00
openwrt-xburst/target/linux/atheros/patches-2.6.36/211-reset_button-2.6.36.patch
acoul fdb67f01df linux/atheros: fix another 2.6.36 patch issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-15 15:06:32 +00:00

13 lines
351 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;
+struct sock *uevent_sock = NULL;
+EXPORT_SYMBOL_GPL(uevent_sock);
extern u64 uevent_next_seqnum(void);
static int no_release_workaround = 1;