Commit 50fa2ee8 authored by Chris Park's avatar Chris Park Committed by Greg Kroah-Hartman

staging: wilc1000: move MODALIS and GPIO_NUM define to wilc_wlan.h file

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: default avatarChris Park <chris.park@atmel.com>
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a3f29650
...@@ -31,7 +31,5 @@ ...@@ -31,7 +31,5 @@
#else #else
/* base on SAMA5D3_Xplained Board */ /* base on SAMA5D3_Xplained Board */
#define MODALIAS "WILC_SPI"
#define GPIO_NUM 0x44
#endif #endif
#endif #endif
...@@ -131,6 +131,8 @@ ...@@ -131,6 +131,8 @@
#define LINUX_RX_SIZE (96 * 1024) #define LINUX_RX_SIZE (96 * 1024)
#define LINUX_TX_SIZE (64 * 1024) #define LINUX_TX_SIZE (64 * 1024)
#define MODALIAS "WILC_SPI"
#define GPIO_NUM 0x44
/*******************************************/ /*******************************************/
/* E0 and later Interrupt flags. */ /* E0 and later Interrupt flags. */
/*******************************************/ /*******************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment