diff options
author | Arend van Spriel <arend@broadcom.com> | 2011-07-05 18:02:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-05 22:47:51 -0400 |
commit | 50df1a3a150e8da3d6c129f5bbb1fbc96e8e41c3 (patch) | |
tree | c20794f1d9ace1b07bfc36f15c4e8a745361b5db /drivers/staging/brcm80211/brcmsmac/phy | |
parent | 15f91530c90a2c7198d9646463085bafca600204 (diff) |
staging: brcm80211: remove external definitions from phy_lcn.c
The source file phy_lcn.c had several external definitions flagged
by checkpatch.pl script. The patch fixes those.
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmsmac/phy')
-rw-r--r-- | drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c | 10 | ||||
-rw-r--r-- | drivers/staging/brcm80211/brcmsmac/phy/phytbl_lcn.h | 2 |
2 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c b/drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c index 8e98d8f8a7e..41ac6817588 100644 --- a/drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c +++ b/drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c | |||
@@ -535,12 +535,6 @@ static const s8 lcnphy_gain_index_offset_for_rssi[] = { | |||
535 | -2 | 535 | -2 |
536 | }; | 536 | }; |
537 | 537 | ||
538 | extern const u8 spur_tbl_rev0[]; | ||
539 | extern const u32 dot11lcnphytbl_rx_gain_info_sz_rev1; | ||
540 | extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev1[]; | ||
541 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa; | ||
542 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250; | ||
543 | |||
544 | struct chan_info_2064_lcnphy { | 538 | struct chan_info_2064_lcnphy { |
545 | uint chan; | 539 | uint chan; |
546 | uint freq; | 540 | uint freq; |
@@ -991,7 +985,7 @@ static bool wlc_lcnphy_rx_iq_est(struct brcms_phy *pi, u16 num_samps, | |||
991 | static bool wlc_lcnphy_calc_rx_iq_comp(struct brcms_phy *pi, u16 num_samps); | 985 | static bool wlc_lcnphy_calc_rx_iq_comp(struct brcms_phy *pi, u16 num_samps); |
992 | static u16 wlc_lcnphy_get_pa_gain(struct brcms_phy *pi); | 986 | static u16 wlc_lcnphy_get_pa_gain(struct brcms_phy *pi); |
993 | static void wlc_lcnphy_afe_clk_init(struct brcms_phy *pi, u8 mode); | 987 | static void wlc_lcnphy_afe_clk_init(struct brcms_phy *pi, u8 mode); |
994 | extern void wlc_lcnphy_tx_pwr_ctrl_init(struct brcms_phy_pub *ppi); | 988 | static void wlc_lcnphy_tx_pwr_ctrl_init(struct brcms_phy_pub *ppi); |
995 | static void wlc_lcnphy_radio_2064_channel_tune_4313(struct brcms_phy *pi, | 989 | static void wlc_lcnphy_radio_2064_channel_tune_4313(struct brcms_phy *pi, |
996 | u8 channel); | 990 | u8 channel); |
997 | 991 | ||
@@ -2275,7 +2269,7 @@ static void wlc_lcnphy_vbat_temp_sense_setup(struct brcms_phy *pi, u8 mode) | |||
2275 | udelay(999); | 2269 | udelay(999); |
2276 | } | 2270 | } |
2277 | 2271 | ||
2278 | void WLBANDINITFN(wlc_lcnphy_tx_pwr_ctrl_init) (struct brcms_phy_pub *ppi) | 2272 | static void WLBANDINITFN(wlc_lcnphy_tx_pwr_ctrl_init) (struct brcms_phy_pub *ppi) |
2279 | { | 2273 | { |
2280 | struct lcnphy_txgains tx_gains; | 2274 | struct lcnphy_txgains tx_gains; |
2281 | u8 bbmult; | 2275 | u8 bbmult; |
diff --git a/drivers/staging/brcm80211/brcmsmac/phy/phytbl_lcn.h b/drivers/staging/brcm80211/brcmsmac/phy/phytbl_lcn.h index 644389f0340..5f75e16bf5a 100644 --- a/drivers/staging/brcm80211/brcmsmac/phy/phytbl_lcn.h +++ b/drivers/staging/brcm80211/brcmsmac/phy/phytbl_lcn.h | |||
@@ -22,6 +22,8 @@ extern const u32 dot11lcnphytbl_rx_gain_info_sz_rev0; | |||
22 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313; | 22 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313; |
23 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa; | 23 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa; |
24 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa_combo; | 24 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa_combo; |
25 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa; | ||
26 | extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250; | ||
25 | 27 | ||
26 | extern const struct phytbl_info dot11lcnphytbl_info_rev0[]; | 28 | extern const struct phytbl_info dot11lcnphytbl_info_rev0[]; |
27 | extern const u32 dot11lcnphytbl_info_sz_rev0; | 29 | extern const u32 dot11lcnphytbl_info_sz_rev0; |