csky: PCI: Define ARCH_GENERIC_PCI_MMAP_RESOURCE
authorStafford Horne <shorne@gmail.com>
Fri, 22 Jul 2022 21:49:43 +0000 (06:49 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jul 2022 22:26:10 +0000 (17:26 -0500)
commitf619d23576f76bae9b3135d96033650ca3af611d
treedbf2c71369620ea1125677ab5ae740fa14c5eab1
parentabb4970ac33514c84b143516583eaf8cc47abd67
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>
arch/csky/include/asm/pci.h