wl18xx: add empty operations struct
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:13:08 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:54:14 +0000 (15:54 +0300)
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>
drivers/net/wireless/ti/wl18xx/main.c

index cb835d914babfa17a257e68e8b724e9d39f86741..3fa9298e0b42a4fe30ce706b9e06e86902ff1e1f 100644 (file)
@@ -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);
 }