From 7787043aeefb78aafd3e3d1e33bf8516c1fec122 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 29 Nov 2012 00:07:49 +0100 Subject: [PATCH] compat-drivers: do not use struct spinlock struct spinlock does not exists on kernel version <= 2.6.32, use spinlock_t instead. Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- 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 000000000000..4c9f315c3ccd --- /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, -- 2.30.2