summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-11-21 18:55:51 +0200
committerLuciano Coelho <coelho@ti.com>2012-04-12 08:43:56 +0300
commitffeb501c6cba803eefc46b570feccffe61a6d883 (patch)
treefba229268593dbaa34f37a17e31eda7c7598a3b0 /drivers/net/wireless/ti/wlcore/wlcore.h
parentb2ba99ff327f43684993c47a0f34bfa48f2ac210 (diff)
downloadlinux-ffeb501c6cba803eefc46b570feccffe61a6d883.tar.bz2
wl12xx/wlcore: initial split of probe
We need to set some parameters (eg. partition and register tables) during probe of the lower driver, so split the probe function, leaving most of it in wlcore, but moving the hw struct allocation to the lower driver. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index e0187d7b5344..4cabf971da51 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -22,7 +22,12 @@
#ifndef __WLCORE_H__
#define __WLCORE_H__
-int __devinit wlcore_probe(struct platform_device *pdev);
+#include "wl12xx.h"
+
+int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev);
int __devexit wlcore_remove(struct platform_device *pdev);
+struct ieee80211_hw *wlcore_alloc_hw(void);
+int wlcore_free_hw(struct wl1271 *wl);
+
#endif /* __WLCORE_H__ */