diff options
author | Stafford Horne <shorne@gmail.com> | 2022-07-22 23:49:43 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-07-23 00:26:10 +0200 |
commit | f619d23576f76bae9b3135d96033650ca3af611d (patch) | |
tree | dbf2c71369620ea1125677ab5ae740fa14c5eab1 /arch/csky | |
parent | PCI: Move isa_dma_bridge_buggy out of asm/dma.h (diff) | |
download | linux-f619d23576f76bae9b3135d96033650ca3af611d.tar.xz linux-f619d23576f76bae9b3135d96033650ca3af611d.zip |
csky: PCI: Define ARCH_GENERIC_PCI_MMAP_RESOURCE
This looks to be something that was accidentally left out on the csky port.
Define ARCH_GENERIC_PCI_MMAP_RESOURCE to keep it inline with other ports.
Adding ARCH_GENERIC_PCI_MMAP_RESOURCE enables the definition of modern
pci_mmap_resource_range() functions which is generally what new ports
should be using.
Link: https://lore.kernel.org/r/20220722214944.831438-4-shorne@gmail.com
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to 'arch/csky')
-rw-r--r-- | arch/csky/include/asm/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/csky/include/asm/pci.h b/arch/csky/include/asm/pci.h index 5c02454ec724..875bc028f8f6 100644 --- a/arch/csky/include/asm/pci.h +++ b/arch/csky/include/asm/pci.h @@ -15,6 +15,8 @@ /* C-SKY shim does not initialize PCI bus */ #define pcibios_assign_all_busses() 1 +#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1 + #ifdef CONFIG_PCI static inline int pci_proc_domain(struct pci_bus *bus) { |