aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/wilc1000/wilc_wlan.h
diff options
context:
space:
mode:
authorChris Park <chris.park@atmel.com>2016-02-22 13:41:17 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-22 11:48:19 -0800
commit50fa2ee820f61ad10e94b87d5cbb2ee1180a98f3 (patch)
tree44f44529a6d211dfbb7aa1e1952faaf57881b317 /drivers/staging/wilc1000/wilc_wlan.h
parenta3f2965054f1364ba36d8189f30e7c5fb18f0dc9 (diff)
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: Chris Park <chris.park@atmel.com> Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.h b/drivers/staging/wilc1000/wilc_wlan.h
index 792d338bf3d4..bcd4bfa5accc 100644
--- a/drivers/staging/wilc1000/wilc_wlan.h
+++ b/drivers/staging/wilc1000/wilc_wlan.h
@@ -131,6 +131,8 @@
#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. */
/*******************************************/