ata: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Thu, 4 Apr 2024 09:29:36 +0000 (11:29 +0200)
committerDamien Le Moal <dlemoal@kernel.org>
Mon, 8 Apr 2024 01:07:28 +0000 (10:07 +0900)
commit21a6f37d8891d41822b2557b60d95aae2fde4f50
treeed539349d7491c2ec78fc358c14ed8665718dda9
parentdcf2653ac12f2c1c3c0e1042c35fe90f7d74eb08
ata: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. 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>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/Kconfig
drivers/ata/libata-sff.c