diff options
author | Florian Schilhabel <florian.c.schilhabel@googlemail.com> | 2010-07-14 14:47:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 11:58:04 -0700 |
commit | 8280a7abd6ce7329d1be5c2d10b2a29f23bf4038 (patch) | |
tree | d77df97d54016ba9920ffb4284d2d8c78d095b7a /drivers/staging/rtl8192su | |
parent | 2de027e51d0f16cf5260efad89419bf9a66d3313 (diff) | |
download | blackbird-op-linux-8280a7abd6ce7329d1be5c2d10b2a29f23bf4038.tar.gz blackbird-op-linux-8280a7abd6ce7329d1be5c2d10b2a29f23bf4038.zip |
staging: rtl819esu: cleanup; r8192S_Efuse.c, r8192S_Efuse.h
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192su')
-rw-r--r-- | drivers/staging/rtl8192su/r8192S_Efuse.c | 5 | ||||
-rw-r--r-- | drivers/staging/rtl8192su/r8192S_Efuse.h | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/rtl8192su/r8192S_Efuse.c b/drivers/staging/rtl8192su/r8192S_Efuse.c index 4489fa0899ca..97d1c38b6fe7 100644 --- a/drivers/staging/rtl8192su/r8192S_Efuse.c +++ b/drivers/staging/rtl8192su/r8192S_Efuse.c @@ -83,7 +83,6 @@ struct efuse_priv u8 tx_power_g[14]; }; -/*------------------------Define global variable-----------------------------*/ const u8 MAX_PGPKT_SIZE = 9; //header+ 2* 4 words (BYTES) const u8 PGPKT_DATA_SIZE = 8; //BYTES sizeof(u8)*8 const u32 EFUSE_MAX_SIZE = 512; @@ -107,7 +106,6 @@ const EFUSE_MAP RTL8712_SDIO_EFUSE_TABLE[]={ /*TxPwIndex */ {11 ,0 ,0 ,28 } // 58~73h 3...4 }; -/*--------------------Define function prototype-----------------------*/ // // From WMAC Efuse one byte R/W // @@ -176,7 +174,6 @@ efuse_CalculateWordCnts(u8 word_en); #ifdef TO_DO_LIST static void efuse_reg_ctrl(struct net_device* dev, u8 bPowerOn); #endif -/*--------------------Define function prototype-----------------------*/ @@ -283,7 +280,7 @@ EFUSE_Read1Byte(struct net_device* dev, u16 Address) else return 0xFF; -} /* EFUSE_Read1Byte */ +} /*----------------------------------------------------------------------------- diff --git a/drivers/staging/rtl8192su/r8192S_Efuse.h b/drivers/staging/rtl8192su/r8192S_Efuse.h index 76289230f99f..c48a11bc06fe 100644 --- a/drivers/staging/rtl8192su/r8192S_Efuse.h +++ b/drivers/staging/rtl8192su/r8192S_Efuse.h @@ -28,7 +28,6 @@ #define EFUSE_FOR_92SU 1 -/*--------------------------Define Parameters-------------------------------*/ #define EFUSE_MAC_LEN 0x200 #define EFUSE_REAL_CONTENT_LEN 512 #define EFUSE_MAP_LEN 128 @@ -51,7 +50,6 @@ #define PG_SWBYTE_H 0x01 #define PG_SWBYTE_L 0x02 -/*--------------------------Exported Function prototype---------------------*/ extern void EFUSE_Initialize(struct net_device* dev); extern u8 @@ -77,6 +75,5 @@ EFUSE_ShadowMapUpdate(struct net_device* dev); extern bool EFUSE_ProgramMap(struct net_device* dev,char* pFileName, u8 TableType); // 0=Shadow 1=Real Efuse -/*--------------------------Exported Function prototype---------------------*/ #endif |