projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274c66c
)
wl18xx: create per-chip-family private storage
author
Arik Nemtsov
<arik@wizery.com>
Thu, 10 May 2012 09:13:14 +0000
(12:13 +0300)
committer
Luciano Coelho
<coelho@ti.com>
Tue, 5 Jun 2012 12:54:46 +0000
(15:54 +0300)
Make use of the wlcore provided private storage in the 18xx low-level
driver.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ti/wl18xx/main.c
b/drivers/net/wireless/ti/wl18xx/main.c
index
6a487c8
..
b298e01
100644
(file)
--- a/
drivers/net/wireless/ti/wl18xx/main.c
+++ b/
drivers/net/wireless/ti/wl18xx/main.c
@@
-313,8
+313,9
@@
int __devinit wl18xx_probe(struct platform_device *pdev)
{
struct wl1271 *wl;
struct ieee80211_hw *hw;
+ struct wl18xx_priv *priv;
- hw = wlcore_alloc_hw(
0
);
+ hw = wlcore_alloc_hw(
sizeof(*priv)
);
if (IS_ERR(hw)) {
wl1271_error("can't allocate hw");
return PTR_ERR(hw);