Commit 554c36b7 authored by Luciano Coelho's avatar Luciano Coelho

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: default avatarLuciano Coelho <coelho@ti.com>
Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
parent 197c6283
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
#include "../wlcore/wlcore.h" #include "../wlcore/wlcore.h"
#include "../wlcore/debug.h" #include "../wlcore/debug.h"
static struct wlcore_ops wl18xx_ops = {
};
int __devinit wl18xx_probe(struct platform_device *pdev) int __devinit wl18xx_probe(struct platform_device *pdev)
{ {
struct wl1271 *wl; struct wl1271 *wl;
...@@ -37,6 +40,7 @@ int __devinit wl18xx_probe(struct platform_device *pdev) ...@@ -37,6 +40,7 @@ int __devinit wl18xx_probe(struct platform_device *pdev)
} }
wl = hw->priv; wl = hw->priv;
wl->ops = &wl18xx_ops;
return wlcore_probe(wl, pdev); return wlcore_probe(wl, pdev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment