diff options
author | Mike McCormack <mikem@ring3k.org> | 2010-07-26 22:58:44 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-26 15:45:11 -0700 |
commit | 5976b94353632cb7ee3fb4a01bd54444efd29b1b (patch) | |
tree | 2b4f29bebf583469633d32434985748dbe186441 /drivers/staging | |
parent | f0161757733f924cefe5ae45d012aef1daccebeb (diff) | |
download | op-kernel-dev-5976b94353632cb7ee3fb4a01bd54444efd29b1b.zip op-kernel-dev-5976b94353632cb7ee3fb4a01bd54444efd29b1b.tar.gz |
staging: rtl8192e: Make arrays const
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_dm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_dm.c b/drivers/staging/rtl8192e/r8192E_dm.c index 05fe798..93d402b 100644 --- a/drivers/staging/rtl8192e/r8192E_dm.c +++ b/drivers/staging/rtl8192e/r8192E_dm.c @@ -592,7 +592,7 @@ static void dm_bandwidth_autoswitch(struct net_device * dev) //OFDM default at 0db, index=6. #ifndef RTL8190P -static u32 OFDMSwingTable[OFDM_Table_Length] = { +static const u32 OFDMSwingTable[OFDM_Table_Length] = { 0x7f8001fe, // 0, +6db 0x71c001c7, // 1, +5db 0x65400195, // 2, +4db @@ -613,7 +613,7 @@ static u32 OFDMSwingTable[OFDM_Table_Length] = { 0x12000048, // 17, -11db 0x10000040 // 18, -12db }; -static u8 CCKSwingTable_Ch1_Ch13[CCK_Table_length][8] = { +static const u8 CCKSwingTable_Ch1_Ch13[CCK_Table_length][8] = { {0x36, 0x35, 0x2e, 0x25, 0x1c, 0x12, 0x09, 0x04}, // 0, +0db ===> CCK40M default {0x30, 0x2f, 0x29, 0x21, 0x19, 0x10, 0x08, 0x03}, // 1, -1db {0x2b, 0x2a, 0x25, 0x1e, 0x16, 0x0e, 0x07, 0x03}, // 2, -2db @@ -628,7 +628,7 @@ static u8 CCKSwingTable_Ch1_Ch13[CCK_Table_length][8] = { {0x0f, 0x0f, 0x0d, 0x0b, 0x08, 0x05, 0x03, 0x01} // 11, -11db }; -static u8 CCKSwingTable_Ch14[CCK_Table_length][8] = { +static const u8 CCKSwingTable_Ch14[CCK_Table_length][8] = { {0x36, 0x35, 0x2e, 0x1b, 0x00, 0x00, 0x00, 0x00}, // 0, +0db ===> CCK40M default {0x30, 0x2f, 0x29, 0x18, 0x00, 0x00, 0x00, 0x00}, // 1, -1db {0x2b, 0x2a, 0x25, 0x15, 0x00, 0x00, 0x00, 0x00}, // 2, -2db |