Skip to content

Commit eae36cb

Browse files
niklas88sre
authored andcommitted
power: reset: add HAS_IOPORT dependencies
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. 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: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 18618dd commit eae36cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/power/reset/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ config POWER_RESET_OXNAS
158158
config POWER_RESET_PIIX4_POWEROFF
159159
tristate "Intel PIIX4 power-off driver"
160160
depends on PCI
161+
depends on HAS_IOPORT
161162
depends on MIPS || COMPILE_TEST
162163
help
163164
This driver supports powering off a system using the Intel PIIX4

0 commit comments

Comments
 (0)