forked from Minki/linux
iwlwifi: remove 4965 remainings in iwl-eeprom.c file
The patch cleans up 4965 remaings from iwl-eeprom.c file. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
9636e583d2
commit
da6833cb05
@ -365,11 +365,11 @@ static void iwl_init_band_reference(const struct iwl_priv *priv,
|
||||
? # x " " : "")
|
||||
|
||||
/**
|
||||
* iwl4965_set_fat_chan_info - Copy fat channel info into driver's priv.
|
||||
* iwl_set_fat_chan_info - Copy fat channel info into driver's priv.
|
||||
*
|
||||
* Does not set up a command, or touch hardware.
|
||||
*/
|
||||
static int iwl4965_set_fat_chan_info(struct iwl_priv *priv,
|
||||
static int iwl_set_fat_chan_info(struct iwl_priv *priv,
|
||||
enum ieee80211_band band, u16 channel,
|
||||
const struct iwl_eeprom_channel *eeprom_ch,
|
||||
u8 fat_extension_channel)
|
||||
@ -542,16 +542,16 @@ int iwl_init_channel_map(struct iwl_priv *priv)
|
||||
fat_extension_chan = HT_IE_EXT_CHANNEL_ABOVE;
|
||||
|
||||
/* Set up driver's info for lower half */
|
||||
iwl4965_set_fat_chan_info(priv, ieeeband,
|
||||
eeprom_ch_index[ch],
|
||||
&(eeprom_ch_info[ch]),
|
||||
fat_extension_chan);
|
||||
iwl_set_fat_chan_info(priv, ieeeband,
|
||||
eeprom_ch_index[ch],
|
||||
&(eeprom_ch_info[ch]),
|
||||
fat_extension_chan);
|
||||
|
||||
/* Set up driver's info for upper half */
|
||||
iwl4965_set_fat_chan_info(priv, ieeeband,
|
||||
(eeprom_ch_index[ch] + 4),
|
||||
&(eeprom_ch_info[ch]),
|
||||
HT_IE_EXT_CHANNEL_BELOW);
|
||||
iwl_set_fat_chan_info(priv, ieeeband,
|
||||
(eeprom_ch_index[ch] + 4),
|
||||
&(eeprom_ch_info[ch]),
|
||||
HT_IE_EXT_CHANNEL_BELOW);
|
||||
}
|
||||
}
|
||||
|
||||
@ -560,7 +560,7 @@ int iwl_init_channel_map(struct iwl_priv *priv)
|
||||
EXPORT_SYMBOL(iwl_init_channel_map);
|
||||
|
||||
/*
|
||||
* iwl_free_channel_map - undo allocations in iwl4965_init_channel_map
|
||||
* iwl_free_channel_map - undo allocations in iwl_init_channel_map
|
||||
*/
|
||||
void iwl_free_channel_map(struct iwl_priv *priv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user