diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-04 11:58:49 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-17 01:25:36 +0100 |
commit | 6e783865b4e60f2ecf7708f8ea24db5c5ea07ced (patch) | |
tree | 2f4cd8df0733cf177bbf74ae1ec7e079d4b6b013 /arch/mips/pci/pci-ar71xx.c | |
parent | 9fc1ca5b73a82daedffa2d1d5daa48dd2093c39a (diff) | |
download | op-kernel-dev-6e783865b4e60f2ecf7708f8ea24db5c5ea07ced.zip op-kernel-dev-6e783865b4e60f2ecf7708f8ea24db5c5ea07ced.tar.gz |
MIPS: ath79: remove unused ar7{1x,24}x_pcibios_init functions
The functions are unused now, so remove them.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4909/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/pci/pci-ar71xx.c')
-rw-r--r-- | arch/mips/pci/pci-ar71xx.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/mips/pci/pci-ar71xx.c b/arch/mips/pci/pci-ar71xx.c index 35ee234..69e0bb4 100644 --- a/arch/mips/pci/pci-ar71xx.c +++ b/arch/mips/pci/pci-ar71xx.c @@ -23,7 +23,6 @@ #include <asm/mach-ath79/ar71xx_regs.h> #include <asm/mach-ath79/ath79.h> -#include <asm/mach-ath79/pci.h> #define AR71XX_PCI_REG_CRP_AD_CBE 0x00 #define AR71XX_PCI_REG_CRP_WRDATA 0x04 @@ -335,31 +334,6 @@ static void ar71xx_pci_reset(void) mdelay(100); } -__init int ar71xx_pcibios_init(void) -{ - u32 t; - - ar71xx_pcicfg_base = ioremap(AR71XX_PCI_CFG_BASE, AR71XX_PCI_CFG_SIZE); - if (ar71xx_pcicfg_base == NULL) - return -ENOMEM; - - ar71xx_pci_reset(); - - /* setup COMMAND register */ - t = PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE - | PCI_COMMAND_PARITY | PCI_COMMAND_SERR | PCI_COMMAND_FAST_BACK; - ar71xx_pci_local_write(PCI_COMMAND, 4, t); - - /* clear bus errors */ - ar71xx_pci_check_error(1); - - ar71xx_pci_irq_init(ATH79_CPU_IRQ_IP2); - - register_pci_controller(&ar71xx_pci_controller); - - return 0; -} - static int ar71xx_pci_probe(struct platform_device *pdev) { struct resource *res; |