diff options
Diffstat (limited to 'target/linux/atheros/patches-2.6.37/210-reset_button.patch')
-rw-r--r-- | target/linux/atheros/patches-2.6.37/210-reset_button.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-2.6.37/210-reset_button.patch b/target/linux/atheros/patches-2.6.37/210-reset_button.patch index 3c91818..7bf9d0e 100644 --- a/target/linux/atheros/patches-2.6.37/210-reset_button.patch +++ b/target/linux/atheros/patches-2.6.37/210-reset_button.patch @@ -11,7 +11,7 @@ --- /dev/null +++ b/arch/mips/ar231x/reset.c -@@ -0,0 +1,160 @@ +@@ -0,0 +1,161 @@ +#include <linux/init.h> +#include <linux/module.h> +#include <linux/timer.h> @@ -38,7 +38,8 @@ +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; |