struct spinlock does not exists on kernel version <= 2.6.32, use spinlock_t instead. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- patches/network/67-use_spinlock_t.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/network/67-use_spinlock_t.patch diff --git a/patches/network/67-use_spinlock_t.patch b/patches/network/67-use_spinlock_t.patch new file mode 100644 index 0000000..4c9f315 --- /dev/null +++ b/patches/network/67-use_spinlock_t.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/brcm80211/brcmfmac/fweh.h ++++ b/drivers/net/wireless/brcm80211/brcmfmac/fweh.h +@@ -158,7 +158,7 @@ typedef int (*brcmf_fweh_handler_t)(stru + */ + struct brcmf_fweh_info { + struct work_struct event_work; +- struct spinlock evt_q_lock; ++ spinlock_t evt_q_lock; + struct list_head event_q; + int (*evt_handler[BRCMF_E_LAST])(struct brcmf_if *ifp, + const struct brcmf_event_msg *evtmsg, -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html