diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-14 10:29:21 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 17:49:00 +0200 |
commit | e2dbdc436b46250c8682ea57151a7afb45f271e1 (patch) | |
tree | 209d66461e92a9af7f46817ac63cdd6ca26ab1da /arch/mips/ath79/Makefile | |
parent | 97bf7a190082457f84467b28baed14c8147476f2 (diff) | |
download | blackbird-op-linux-e2dbdc436b46250c8682ea57151a7afb45f271e1.tar.gz blackbird-op-linux-e2dbdc436b46250c8682ea57151a7afb45f271e1.zip |
MIPS: ath79: separate common PCI code
The 'pcibios_map_irq' and 'pcibios_plat_dev_init'
are common functions and only instance one of them
can be present in a single kernel.
Currently these functions can be built only if the
CONFIG_SOC_AR724X option is selected. However the
ath79 platform contain support for the AR71XX SoCs,.
The AR71XX SoCs have a differnet PCI controller,
and those will require a different code.
Move the common PCI code into a separeate file in
order to be able to use that with other SoCs as
well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: René Bolldorf <xsecute@googlemail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3485/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/Makefile')
-rw-r--r-- | arch/mips/ath79/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ath79/Makefile b/arch/mips/ath79/Makefile index 3b911e09dbec..221a76a9fb45 100644 --- a/arch/mips/ath79/Makefile +++ b/arch/mips/ath79/Makefile @@ -11,6 +11,7 @@ obj-y := prom.o setup.o irq.o common.o clock.o gpio.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o +obj-$(CONFIG_PCI) += pci.o # # Devices |