]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: omap1: use pci_remap_iospace() for omap_cf
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Aug 2019 18:42:29 +0000 (20:42 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 Apr 2022 09:08:55 +0000 (11:08 +0200)
commitc80e1687181e88dce39959e812c82593072a1449
treef352b866d3fc48a72e8e10255bc520ef1fc74962
parent333893a9b5ef362aed8255bb80cc235990f54a71
ARM: omap1: use pci_remap_iospace() for omap_cf

The ISA I/O space handling in omap_cf is incompatible with
PCI drivers in a multiplatform kernel, and requires a custom
mach/io.h.

Change the driver to use pci_remap_iospace() like PCI drivers do,
so the generic ioport access can work across platforms.

To actually use that code, we have to select CONFIG_PCI
here.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig
arch/arm/mach-omap1/include/mach/io.h [deleted file]
drivers/pcmcia/omap_cf.c