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/[email protected] Signed-off-by: Stafford Horne <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Guo Ren <[email protected]>
1 parent abb4970 commit f619d23

File tree

1 file changed

+2
-0
lines changed
  • arch/csky/include/asm

1 file changed

+2
-0
lines changed

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)