From: Luis R. Rodriguez Date: Wed, 13 Jun 2012 01:00:04 +0000 (-0700) Subject: compat-wireless: fix patches/09-threaded-irq.patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=75deab2b672172f169bb7d2058b1fd577c050f4b;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: fix patches/09-threaded-irq.patch I'm tired of seeing this patch fail so I've moved the struct that we add to the front. Each time the data structure changes elements are added towards the end, not the beginning. Hopefully this means we'll have less required updates on this hunk! Only time will tell. Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/09-threaded-irq.patch b/patches/09-threaded-irq.patch index b65552d5668c..143bbffd24d0 100644 --- a/patches/09-threaded-irq.patch +++ b/patches/09-threaded-irq.patch @@ -116,13 +116,14 @@ thread in process context as well. return 0; --- a/drivers/net/wireless/ti/wlcore/wlcore.h +++ b/drivers/net/wireless/ti/wlcore/wlcore.h -@@ -355,6 +355,9 @@ struct wl1271 { - - /* RX Data filter rule state - enabled/disabled */ - bool rx_filter_enabled[WL1271_MAX_RX_FILTERS]; +@@ -141,7 +141,9 @@ struct wl1271_stats { + struct wl1271 { + struct ieee80211_hw *hw; + bool mac80211_registered; +- +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31) + struct compat_threaded_irq irq_compat; +#endif - }; + struct device *dev; - int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev); + void *if_priv;