summaryrefslogtreecommitdiff
path: root/arch/mips/loongson64/common/pci.c
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2019-10-20 23:01:35 +0800
committerPaul Burton <paulburton@kernel.org>2019-11-01 14:31:28 -0700
commit1bdb7b76705a38936e9875950587ea91c9ec0a98 (patch)
treee1a0946643e6dcee33b9f64736bda0dd78b6ffb3 /arch/mips/loongson64/common/pci.c
parent5831fdb099ddeec9849658cd534fdcbb03aa6ff9 (diff)
MIPS: Loongson64: Cleanup unused code
Clean up legacy code after stripping out Loongson2ef code. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: linux-mips@vger.kernel.org Cc: paul.burton@mips.com
Diffstat (limited to 'arch/mips/loongson64/common/pci.c')
-rw-r--r--arch/mips/loongson64/common/pci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/loongson64/common/pci.c b/arch/mips/loongson64/common/pci.c
index 2d9755c49524..7bbe2388f38e 100644
--- a/arch/mips/loongson64/common/pci.c
+++ b/arch/mips/loongson64/common/pci.c
@@ -81,15 +81,12 @@ static int __init pcibios_init(void)
setup_pcimap();
loongson_pci_controller.io_map_base = mips_io_port_base;
-#ifdef CONFIG_LEFI_FIRMWARE_INTERFACE
loongson_pci_mem_resource.start = loongson_sysconf.pci_mem_start_addr;
loongson_pci_mem_resource.end = loongson_sysconf.pci_mem_end_addr;
-#endif
+
register_pci_controller(&loongson_pci_controller);
-#ifdef CONFIG_CPU_LOONGSON64
sbx00_acpi_init();
-#endif
return 0;
}