Skip to content

Commit 50cd871

Browse files
niklas88dtor
authored andcommitted
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>
1 parent f219050 commit 50cd871

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/input/serio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ config HIL_MLC
148148
config SERIO_PCIPS2
149149
tristate "PCI PS/2 keyboard and PS/2 mouse controller"
150150
depends on PCI
151+
depends on HAS_IOPORT
151152
help
152153
Say Y here if you have a Mobility Docking station with PS/2
153154
keyboard and mice ports.

drivers/input/touchscreen/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ config TOUCHSCREEN_INEXIO
700700

701701
config TOUCHSCREEN_MK712
702702
tristate "ICS MicroClock MK712 touchscreen"
703+
depends on ISA
703704
help
704705
Say Y here if you have the ICS MicroClock MK712 touchscreen
705706
controller chip in your system.

0 commit comments

Comments
 (0)