summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-04-29 02:50:39 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 18:45:25 +0200
commitc496fe3a7ffcba32ffed61735e7fed8861e62ac3 (patch)
treed4861f2cac99b4acceaeb6e0d2e1e65765c80f27 /drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
parentbrcmsmac: remove pcie_extendL1timer() (diff)
downloadlinux-c496fe3a7ffcba32ffed61735e7fed8861e62ac3.tar.xz
linux-c496fe3a7ffcba32ffed61735e7fed8861e62ac3.zip
brcmsmac: remove pcicore_fixcfg()
This is now done in bcma by bcma_core_pci_fixcfg(). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/aiutils.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/aiutils.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
index 8df7cb5379c1..8908c890d64b 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
@@ -484,8 +484,6 @@ ai_buscore_setup(struct si_info *sii, struct bcma_device *cc)
if (sii->pch == NULL)
return false;
}
- if (ai_pci_fixcfg(&sii->pub))
- return false;
return true;
}
@@ -815,20 +813,6 @@ void ai_pci_down(struct si_pub *sih)
bcma_core_pci_extend_L1timer(&sii->icbus->drv_pci, false);
}
-/*
- * Fixup SROMless PCI device's configuration.
- * The current core may be changed upon return.
- */
-int ai_pci_fixcfg(struct si_pub *sih)
-{
- struct si_info *sii = (struct si_info *)sih;
-
- /* Fixup PI in SROM shadow area to enable the correct PCI core access */
- /* check 'pi' is correct and fix it if not */
- pcicore_fixcfg(sii->pch);
- return 0;
-}
-
/* Enable BT-COEX & Ex-PA for 4313 */
void ai_epa_4313war(struct si_pub *sih)
{