Re: [PATCH v2 1/4] lib: move pci_iomap.c to drivers/pci/

From: Arnd Bergmann
Date: Fri Dec 01 2023 - 09:44:08 EST


On Fri, Dec 1, 2023, at 13:16, Philipp Stanner wrote:
>
> -#ifdef CONFIG_PCI
> /**

You should not remove the #ifdef here, it probably results in
a build failure when CONFIG_GENERIC_PCI_IOMAP is set and
GENERIC_PCI is not.

Alternatively you could use Kconfig or Makefile logic to
prevent the file from being built without CONFIG_PCI.

Arnd