diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-16 15:05:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-18 14:19:20 -0800 |
commit | 857c7b00d2400b2f8a825b4710e9c3d2ebef4aa1 (patch) | |
tree | e00c77d8b7b62732d627540cb5afe99fbfa7459c /drivers/staging/wilc1000/linux_wlan_common.h | |
parent | 4bd7baf04de9ce5f8117da30d5ee2368f3c41b3e (diff) | |
download | op-kernel-dev-857c7b00d2400b2f8a825b4710e9c3d2ebef4aa1.zip op-kernel-dev-857c7b00d2400b2f8a825b4710e9c3d2ebef4aa1.tar.gz |
staging/wilc1000: move init/exit functions to driver files
The driver interfaces are in linux_wlan_sdio.c and linux_wlan_spi.c, so
this is where the init and exit functions should be. Splitting this up
enables further cleanups, including eventually allowing both modules
to be built together.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_wlan_common.h')
-rw-r--r-- | drivers/staging/wilc1000/linux_wlan_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/drivers/staging/wilc1000/linux_wlan_common.h index b8dfc4a..f2ea828 100644 --- a/drivers/staging/wilc1000/linux_wlan_common.h +++ b/drivers/staging/wilc1000/linux_wlan_common.h @@ -121,6 +121,16 @@ extern atomic_t WILC_DEBUG_LEVEL; printk("ERR [%s: %d]", __func__, __LINE__); \ printk(__VA_ARGS__); \ } while (0) + +static inline int wilc_debugfs_init(void) +{ + return 0; +} + +static inline void wilc_debugfs_remove(void) +{ +} + #endif #define FN_IN /* PRINT_D(">>> \n") */ |