diff options
Diffstat (limited to 'arch/mips/mach-malta/pci.c')
-rw-r--r-- | arch/mips/mach-malta/pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/mach-malta/pci.c b/arch/mips/mach-malta/pci.c index 4561123d22..c9c1c7790b 100644 --- a/arch/mips/mach-malta/pci.c +++ b/arch/mips/mach-malta/pci.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <types.h> #include <driver.h> @@ -5,11 +7,9 @@ #include <mach/hardware.h> #include <asm/io.h> #include <asm/addrspace.h> - #include <linux/pci.h> -#include <asm/gt64120.h> -#include <mach/mach-gt64120.h> +#include <mach/gt64120.h> #define PCI_ACCESS_READ 0 #define PCI_ACCESS_WRITE 1 @@ -134,7 +134,7 @@ static int gt64xxx_pci0_pcibios_write(struct pci_bus *bus, unsigned int devfn, static resource_size_t gt64xxx_res_start(struct pci_bus *bus, resource_size_t res_addr) { - return KSEG0ADDR(res_addr); + return CKSEG0ADDR(res_addr); } struct pci_ops gt64xxx_pci0_ops = { |