summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Park <chris.park@atmel.com>2016-02-22 13:41:16 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-22 11:48:19 -0800
commita3f2965054f1364ba36d8189f30e7c5fb18f0dc9 (patch)
treeabcadc55f64beadf5154f4705a86b8c7b9d04547
parentbda2b2fb4be2e7420697bab309223de05d4d02e6 (diff)
staging: wilc1000: move WILC_MULTICAST_TABLE_SIZE define to wilc_wlan_if.h file
This patch moves WILC_MULTICAST_TABLE_SIZE define to wilc_wlan_if.h file. This define is used to three files(host_interface.c,host_interface.h, linux_wlan.c) these files already include wilc_wlan_if.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>
-rw-r--r--drivers/staging/wilc1000/linux_wlan_common.h2
-rw-r--r--drivers/staging/wilc1000/wilc_wlan_if.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/drivers/staging/wilc1000/linux_wlan_common.h
index aa2c02615210..5a53512b2da1 100644
--- a/drivers/staging/wilc1000/linux_wlan_common.h
+++ b/drivers/staging/wilc1000/linux_wlan_common.h
@@ -1,8 +1,6 @@
#ifndef LINUX_WLAN_COMMON_H
#define LINUX_WLAN_COMMON_H
-#define WILC_MULTICAST_TABLE_SIZE 8
-
#if defined(BEAGLE_BOARD)
#define SPI_CHANNEL 4
diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h
index 269c56ea147b..c33f7a625db8 100644
--- a/drivers/staging/wilc1000/wilc_wlan_if.h
+++ b/drivers/staging/wilc1000/wilc_wlan_if.h
@@ -95,7 +95,7 @@ typedef void (*wilc_tx_complete_func_t)(void *, int);
* Wlan Configuration ID
*
********************************************/
-
+#define WILC_MULTICAST_TABLE_SIZE 8
#define MAX_SSID_LEN 33
#define MAX_RATES_SUPPORTED 12