X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/20ca544134f149b84d582332fe7c8727256fb45c..64c718f2238769fadd607c1955059e0f43526fed:/target/linux/atheros/patches-2.6.37/210-reset_button.patch?ds=sidebyside 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 3c9181814..7bf9d0e14 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 +#include +#include @@ -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;