staging: wilc1000: move macro after the #include file in wilc_wfi_netdevice
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 2 May 2018 07:13:44 +0000 (12:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:56:36 +0000 (13:56 -0700)
Cleanup patch to organize macro in a file together after #include
statements.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.h

index 01cb9acb830d552da4ebe3686f1640261e6295dd..884992483180126bbe5e5c9f13c06880360de8bd 100644 (file)
@@ -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>
 #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;