Commit f619d235 authored by Stafford Horne's avatar Stafford Horne Committed by Bjorn Helgaas

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.comSigned-off-by: default avatarStafford Horne <shorne@gmail.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarGuo Ren <guoren@kernel.org>
parent abb4970a
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
/* C-SKY shim does not initialize PCI bus */ /* C-SKY shim does not initialize PCI bus */
#define pcibios_assign_all_busses() 1 #define pcibios_assign_all_busses() 1
#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
static inline int pci_proc_domain(struct pci_bus *bus) static inline int pci_proc_domain(struct pci_bus *bus)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment