aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wfx/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/wfx/main.c')
-rw-r--r--drivers/staging/wfx/main.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c
index 744445ef597c..a8ef29174232 100644
--- a/drivers/staging/wfx/main.c
+++ b/drivers/staging/wfx/main.c
@@ -20,6 +20,8 @@
#include "main.h"
#include "wfx.h"
+#include "fwio.h"
+#include "hwio.h"
#include "bus.h"
#include "wfx_version.h"
@@ -76,6 +78,24 @@ void wfx_free_common(struct wfx_dev *wdev)
{
}
+int wfx_probe(struct wfx_dev *wdev)
+{
+ int err;
+
+ err = wfx_init_device(wdev);
+ if (err)
+ goto err1;
+
+ return 0;
+
+err1:
+ return err;
+}
+
+void wfx_release(struct wfx_dev *wdev)
+{
+}
+
static int __init wfx_core_init(void)
{
int ret = 0;