Skip to content

Commit

Permalink
wl18xx: add empty operations struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luciano Coelho committed Jun 5, 2012
1 parent 197c628 commit 554c36b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/net/wireless/ti/wl18xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -37,6 +40,7 @@ int __devinit wl18xx_probe(struct platform_device *pdev)
}

wl = hw->priv;
wl->ops = &wl18xx_ops;

return wlcore_probe(wl, pdev);
}
Expand Down

0 comments on commit 554c36b

Please sign in to comment.