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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Niklas Schnelle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent f219050 commit 50cd871

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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)