Cleanup patch to organize macro in a file together after #include
statements.

Signed-off-by: Ajay Singh <ajay.kat...@microchip.com>
---
 drivers/staging/wilc1000/wilc_wfi_netdevice.h | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h 
b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index 01cb9ac..8849924 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -2,11 +2,6 @@
 #ifndef WILC_WFI_NETDEVICE
 #define WILC_WFI_NETDEVICE
 
-#define WILC_MAX_NUM_PMKIDS  16
-#define PMKID_LEN  16
-#define PMKID_FOUND 1
- #define NUM_STA_ASSOCIATED 8
-
 #include <linux/tcp.h>
 #include <linux/ieee80211.h>
 #include <net/cfg80211.h>
@@ -16,8 +11,15 @@
 #include "host_interface.h"
 #include "wilc_wlan.h"
 
-#define FLOW_CONTROL_LOWER_THRESHOLD   128
-#define FLOW_CONTROL_UPPER_THRESHOLD   256
+#define FLOW_CONTROL_LOWER_THRESHOLD           128
+#define FLOW_CONTROL_UPPER_THRESHOLD           256
+
+#define WILC_MAX_NUM_PMKIDS                    16
+#define PMKID_LEN                              16
+#define PMKID_FOUND                            1
+#define NUM_STA_ASSOCIATED                     8
+
+#define NUM_REG_FRAME                          2
 
 struct wilc_wfi_stats {
        unsigned long rx_packets;
@@ -34,8 +36,6 @@ struct wilc_wfi_stats {
  * packets in and out, so there is place for a packet
  */
 
-#define NUM_REG_FRAME 2
-
 struct wilc_wfi_key {
        u8 *key;
        u8 *seq;
-- 
2.7.4


_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to