PCI: Move pci_iomap.c to drivers/pci/
authorPhilipp Stanner <pstanner@redhat.com>
Wed, 31 Jan 2024 09:00:21 +0000 (10:00 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Feb 2024 16:35:40 +0000 (10:35 -0600)
commitae874027524c537a15e8d6f14ff69b855bc13ca8
tree23ea26c2db5eb24877069e15363549053537e204
parent7626913652cc786c238e2dd7d8740b17d41b2637
PCI: Move pci_iomap.c to drivers/pci/

The entirety of pci_iomap.c is guarded by an #ifdef CONFIG_PCI. It,
consequently, does not belong to lib/ because it is not generic
infrastructure.

Move pci_iomap.c to drivers/pci/ and implement the necessary changes to
Makefiles and Kconfigs.

Update MAINTAINERS file.

Update Documentation.

Link: https://lore.kernel.org/r/20240131090023.12331-3-pstanner@redhat.com
[bhelgaas: squash in https://lore.kernel.org/r/20240212150934.24559-1-pstanner@redhat.com]
Suggested-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Documentation/driver-api/device-io.rst
Documentation/driver-api/pci/pci.rst
MAINTAINERS
drivers/pci/Kconfig
drivers/pci/Makefile
drivers/pci/iomap.c [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/pci_iomap.c [deleted file]