summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorTeemu Paasikivi2010-03-18 11:26:46 +0100
committerJohn W. Linville2010-03-23 21:50:25 +0100
commit3b56dd6a090e905eece023f690298013da4b6b67 (patch)
tree3cbb85dca62aa68ef14b134d813b77ec8919c4e4 /drivers/net/wireless/wl12xx/wl1271.h
parentwl1271: Remove circular interlocking related to the inetaddr notifier chain (diff)
downloadkernel-qcow2-linux-3b56dd6a090e905eece023f690298013da4b6b67.tar.gz
kernel-qcow2-linux-3b56dd6a090e905eece023f690298013da4b6b67.tar.xz
kernel-qcow2-linux-3b56dd6a090e905eece023f690298013da4b6b67.zip
wl1271: Changed platform_device to be dynamically allocated
Changed platform_device to be allocated dynamically from the wl1271_alloc_hw function. Also cleaned up error handling in the wl1271_alloc_hw function and module probe functions. Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index a0262b7723c3..8f11506f8310 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -353,6 +353,7 @@ struct wl1271_if_operations {
};
struct wl1271 {
+ struct platform_device *plat_dev;
struct ieee80211_hw *hw;
bool mac80211_registered;