staging: wilc1000: remove __DRIVER_VERSION__ macro
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 May 2015 20:52:15 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 May 2015 23:56:57 +0000 (08:56 +0900)
The driver version is meaningless, and in particular does not
have to be passed from the Makefile. This removes the macros,
but leaves the behavior of printing the 10.2 version untouched
for the moment.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/Makefile
drivers/staging/wilc1000/linux_wlan.c

index 4aa5f6764df45fd32b3f0916e0c696cb1064f029..13e3ed8ef31e7294bf13c7e99f78bb324bbaa9d4 100644 (file)
@@ -32,9 +32,3 @@ wilc1000-objs := wilc_wfi_netdevice.o wilc_wfi_cfgoperations.o linux_wlan.o linu
 
 wilc1000-$(CONFIG_WILC1000_SDIO) += linux_wlan_sdio.o
 wilc1000-$(CONFIG_WILC1000_SPI) += linux_wlan_spi.o
-
-WILC1000_SRC_VERSION = 10.0
-PATCHLEVEL = 2
-WILC1000_FW_VERSION = 0
-
-ccflags-y += -D__DRIVER_VERSION__=\"$(WILC1000_SRC_VERSION).$(PATCHLEVEL)\"
index 3f8b3c54f1962b1a5e69939b9cc774f06afad024..2a74441af09e55cc6b741cccfaa69dff158ed54f 100644 (file)
@@ -2747,7 +2747,7 @@ static int __init init_wilc_driver(void)
 #endif
 
        printk("IN INIT FUNCTION\n");
-       printk("*** WILC1000 driver VERSION=[%s] FW_VER=[%s] ***\n", __DRIVER_VERSION__, __DRIVER_VERSION__);
+       printk("*** WILC1000 driver VERSION=[10.2] FW_VER=[10.2] ***\n");
 
        linux_wlan_device_power(1);
        msleep(100);