mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Signed-off-by: Arik Nemtsov <[email protected]>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user