parport: PC style parport depends on HAS_IOPORT
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 22 May 2023 10:50:28 +0000 (12:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 May 2023 18:17:40 +0000 (19:17 +0100)
commitce3e8ec08dacba16292e1c6948f2983d1d3f1eea
treef47f4c76739fcfe48e9c7e810567b229f0b56d99
parent14360031f804b17c1707c316475db42c84853cf1
parport: PC style parport depends on HAS_IOPORT

In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. As PC style parport uses these functions we need to
handle this dependency.

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>
Link: https://lore.kernel.org/r/20230522105049.1467313-24-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/Kconfig
include/linux/parport.h