Skip to content

Commit f619d23

Browse files
stffrdhrnbjorn-helgaas
authored andcommitted
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>
1 parent abb4970 commit f619d23

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • arch/csky/include/asm

arch/csky/include/asm/pci.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
/* C-SKY shim does not initialize PCI bus */
1616
#define pcibios_assign_all_busses() 1
1717

18+
#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
19+
1820
#ifdef CONFIG_PCI
1921
static inline int pci_proc_domain(struct pci_bus *bus)
2022
{

0 commit comments

Comments
 (0)