diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-05 18:18:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-05 18:18:31 (GMT) |
commit | df8501c96cf35eac586cce81c5547060ef22f624 (patch) | |
tree | b7e0b5f3057ce1642a5e59fad1c7141b4015d091 /drivers/staging/brcm80211/phy/wlc_phy_lcn.c | |
parent | 3deea9049e161965fe3caa2ae1f5f0bc96643465 (diff) | |
download | linux-fsl-qoriq-df8501c96cf35eac586cce81c5547060ef22f624.tar.xz |
Staging: brcm80211: remove CONST definition
Use 'const', it's the correct thing to do.
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/phy/wlc_phy_lcn.c')
-rw-r--r-- | drivers/staging/brcm80211/phy/wlc_phy_lcn.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/brcm80211/phy/wlc_phy_lcn.c b/drivers/staging/brcm80211/phy/wlc_phy_lcn.c index 7e028d3..15aa799 100644 --- a/drivers/staging/brcm80211/phy/wlc_phy_lcn.c +++ b/drivers/staging/brcm80211/phy/wlc_phy_lcn.c @@ -544,11 +544,11 @@ static const s8 lcnphy_gain_index_offset_for_rssi[] = { -2 }; -extern CONST u8 spur_tbl_rev0[]; -extern CONST uint32 dot11lcnphytbl_rx_gain_info_sz_rev1; -extern CONST dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_rev1[]; -extern CONST dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313_bt_epa; -extern CONST dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250; +extern const u8 spur_tbl_rev0[]; +extern const uint32 dot11lcnphytbl_rx_gain_info_sz_rev1; +extern const dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_rev1[]; +extern const dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313_bt_epa; +extern const dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250; typedef struct _chan_info_2064_lcnphy { uint chan; @@ -1049,7 +1049,7 @@ void wlc_lcnphy_read_table(phy_info_t *pi, phytbl_info_t *pti) static void wlc_lcnphy_common_read_table(phy_info_t *pi, uint32 tbl_id, - CONST void *tbl_ptr, uint32 tbl_len, + const void *tbl_ptr, uint32 tbl_len, uint32 tbl_width, uint32 tbl_offset) { phytbl_info_t tab; @@ -1063,7 +1063,7 @@ wlc_lcnphy_common_read_table(phy_info_t *pi, uint32 tbl_id, static void wlc_lcnphy_common_write_table(phy_info_t *pi, uint32 tbl_id, - CONST void *tbl_ptr, uint32 tbl_len, + const void *tbl_ptr, uint32 tbl_len, uint32 tbl_width, uint32 tbl_offset) { @@ -1975,13 +1975,13 @@ wlc_lcnphy_tx_iqlo_cal(phy_info_t *pi, write_phy_reg(pi, 0x93d, 0xc0); wlc_lcnphy_common_write_table(pi, LCNPHY_TBL_ID_IQLOCAL, - (CONST void *) + (const void *) lcnphy_iqcal_loft_gainladder, ARRAYSIZE(lcnphy_iqcal_loft_gainladder), 16, 0); wlc_lcnphy_common_write_table(pi, LCNPHY_TBL_ID_IQLOCAL, - (CONST void *)lcnphy_iqcal_ir_gainladder, + (const void *)lcnphy_iqcal_ir_gainladder, ARRAYSIZE(lcnphy_iqcal_ir_gainladder), 16, 32); |