summaryrefslogtreecommitdiff
path: root/drivers/staging/wilc1000/Makefile
diff options
context:
space:
mode:
authorTony Cho <tony.cho@atmel.com>2015-10-12 16:56:04 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 20:58:01 -0700
commit60bd1003e1045732233493595367bf1d6d5df9f2 (patch)
treed4f3888ffad252f8b731d95eba4fe968c2ce4a47 /drivers/staging/wilc1000/Makefile
parentf6e55e043f9fbf3c0a04485ec5ffc5d0ba76d498 (diff)
staging: wilc1000: remove wilc_wlan.c included in wilc_wfi_cfgoperations.c
This patch removes "wilc_wlan.c" from the wilc_wfi_cfgoperation.c file and adds wilc_wlan.o into Makefile to compile it because there is few benefits. This patch also adds "wilc_wfi_netdevice.h" in the wilc_wlan.c file to avoid the compile errors. Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/Makefile')
-rw-r--r--drivers/staging/wilc1000/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/Makefile b/drivers/staging/wilc1000/Makefile
index f4950619c17f..64c2f1b83dfb 100644
--- a/drivers/staging/wilc1000/Makefile
+++ b/drivers/staging/wilc1000/Makefile
@@ -21,7 +21,8 @@ ccflags-$(CONFIG_WILC1000_DYNAMICALLY_ALLOCATE_MEMROY) += -DWILC_NORMAL_ALLOC
wilc1000-objs := wilc_wfi_cfgoperations.o linux_wlan.o linux_mon.o \
wilc_msgqueue.o \
coreconfigurator.o host_interface.o \
- wilc_sdio.o wilc_spi.o wilc_wlan_cfg.o wilc_debugfs.o
+ wilc_sdio.o wilc_spi.o wilc_wlan_cfg.o wilc_debugfs.o \
+ wilc_wlan.o
wilc1000-$(CONFIG_WILC1000_SDIO) += linux_wlan_sdio.o
wilc1000-$(CONFIG_WILC1000_SPI) += linux_wlan_spi.o