mac80211: fix a workqueue compat backport
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 051-compat_workqueue.patch
1 --- a/compat/compat-2.6.36.c
2 +++ b/compat/compat-2.6.36.c
3 @@ -93,6 +93,8 @@ void compat_usb_scuttle_anchored_urbs(st
4 }
5 EXPORT_SYMBOL_GPL(compat_usb_scuttle_anchored_urbs);
6
7 +#endif /* CONFIG_COMPAT_USB_URB_THREAD_FIX */
8 +
9 struct workqueue_struct *system_nrt_wq __read_mostly;
10 EXPORT_SYMBOL_GPL(system_nrt_wq);
11
12 @@ -106,6 +108,3 @@ void compat_system_workqueue_destroy()
13 {
14 destroy_workqueue(system_nrt_wq);
15 }
16 -
17 -#endif /* CONFIG_COMPAT_USB_URB_THREAD_FIX */
18 -