Input: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 22 May 2023 21:52:24 +0000 (14:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 May 2023 22:17:09 +0000 (15:17 -0700)
commit50cd8714a12b1b8ac42139d2b453b2c1d406f0a9
treef4ec300b8f013cade7873f5de826caeb04cfd09d
parentf219050af06d83f436945880fc9c04db3bb2860f
Input: 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>
Link: https://lore.kernel.org/r/20230522105049.1467313-16-schnelle@linux.ibm.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/Kconfig
drivers/input/touchscreen/Kconfig