Skip to content

Commit b157f0e

Browse files
niklas88akpm00
authored andcommitted
kgdb: add HAS_IOPORT dependency
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. Link: https://lkml.kernel.org/r/[email protected] Co-developed-by: Arnd Bergmann <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Niklas Schnelle <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 040bf9a commit b157f0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Kconfig.kgdb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ config KDB_DEFAULT_ENABLE
122122
config KDB_KEYBOARD
123123
bool "KGDB_KDB: keyboard as input device"
124124
depends on VT && KGDB_KDB && !PARISC
125+
depends on HAS_IOPORT
125126
default n
126127
help
127128
KDB can use a PS/2 type keyboard for an input device

0 commit comments

Comments
 (0)