rtlwifi: Fix build problems introduced by merging rtl8192de
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 10 Jun 2011 20:11:55 +0000 (15:11 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Jun 2011 19:09:38 +0000 (15:09 -0400)
These patches allow compilation of rtlwifi, rtl8192c_common,
rtl8192ce, rtl8192cu and rtl8192se to compile after rtl8192de
was added.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192ce/reg.h
drivers/net/wireless/rtlwifi/wifi.h

index 598cecc..72a3d54 100644 (file)
 #define EPROM_CMD_CONFIG                       0x3
 #define EPROM_CMD_LOAD                         1
 
+#define HWSET_MAX_SIZE                         128
 #define        HWSET_MAX_SIZE_92S                      HWSET_MAX_SIZE
+#define EFUSE_MAX_SECTION                      16
 
 #define        WL_HWPDN_EN                             BIT(0)
 
index c54cda5..491e97f 100644 (file)
@@ -303,9 +303,6 @@ enum hw_variables {
        HW_VAR_DATA_FILTER,
 };
 
-#define HWSET_MAX_SIZE                         128
-#define EFUSE_MAX_SECTION                      16
-
 enum _RT_MEDIA_STATUS {
        RT_MEDIA_DISCONNECT = 0,
        RT_MEDIA_CONNECT = 1