]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: move MODALIS and GPIO_NUM define to wilc_wlan.h file
authorChris Park <chris.park@atmel.com>
Mon, 22 Feb 2016 04:41:17 +0000 (13:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:48:19 +0000 (11:48 -0800)
This patch moves MODALIS and GPIO_NUM define to wilc_wlan.h file.
MODALIS and GPIO_NUM define are used to two files (wilc_sdio.c,
wilc_spi.c), these files already include wilc_wlan.h file in common.

Signed-off-by: Chris Park <chris.park@atmel.com>
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan_common.h
drivers/staging/wilc1000/wilc_wlan.h

index 5a53512b2da1082e164c26c5c9c80e349dabfd8f..37848c07704cd53076790a5decbcd2bc767da7fc 100644 (file)
@@ -31,7 +31,5 @@
 
 #else
 /* base on SAMA5D3_Xplained Board */
-       #define MODALIAS        "WILC_SPI"
-       #define GPIO_NUM        0x44
 #endif
 #endif
index 792d338bf3d46494005d93d7cc33f4d23879c55c..bcd4bfa5acccc8ed7955b5cb0c56f7f1e18462d0 100644 (file)
 #define LINUX_RX_SIZE          (96 * 1024)
 #define LINUX_TX_SIZE          (64 * 1024)
 
+#define MODALIAS               "WILC_SPI"
+#define GPIO_NUM               0x44
 /*******************************************/
 /*        E0 and later Interrupt flags.    */
 /*******************************************/