summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl18xx
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-05-10 09:13:08 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-06-05 12:54:14 (GMT)
commit554c36b7373ffcbe9c752ad779402f8cf3a44b48 (patch)
treeb37b65b3f50ef630fc34768f2ef5ff2d96941214 /drivers/net/wireless/ti/wl18xx
parent197c62832b1a347f933fea286fc70266026ef5fb (diff)
downloadlinux-554c36b7373ffcbe9c752ad779402f8cf3a44b48.tar.xz
wl18xx: add empty operations struct
We don't have any chip-specific operations yet, but now wlcore has defined an operations structure and requires the pointer to be set. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx')
-rw-r--r--drivers/net/wireless/ti/wl18xx/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c
index cb835d9..3fa9298 100644
--- a/drivers/net/wireless/ti/wl18xx/main.c
+++ b/drivers/net/wireless/ti/wl18xx/main.c
@@ -25,6 +25,9 @@
#include "../wlcore/wlcore.h"
#include "../wlcore/debug.h"
+static struct wlcore_ops wl18xx_ops = {
+};
+
int __devinit wl18xx_probe(struct platform_device *pdev)
{
struct wl1271 *wl;
@@ -37,6 +40,7 @@ int __devinit wl18xx_probe(struct platform_device *pdev)
}
wl = hw->priv;
+ wl->ops = &wl18xx_ops;
return wlcore_probe(wl, pdev);
}