PNP: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Fri, 5 Apr 2024 14:22:26 +0000 (16:22 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Apr 2024 16:30:39 +0000 (18:30 +0200)
commit59c9450b881190b497a0a61ab793a5a1b6bd006d
treeeb10b4a12902bbf4e274f86ef0eed1d0232a0fd9
parented30a4a51bb196781c8058073ea720133a65596f
PNP: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. We thus need to depend on HAS_IOPORT even when compile
testing only.

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/isapnp/Kconfig