From: Niklas Schnelle Date: Wed, 3 Apr 2024 13:25:47 +0000 (+0200) Subject: kgdb: add HAS_IOPORT dependency X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b157f0e97e3ed6158cde4f247da4c537c3f6a0f9;p=linux.git 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/20240403132547.762429-2-schnelle@linux.ibm.com Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle Signed-off-by: Andrew Morton --- diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb index b5c0e6576749d..537e1b3f57340 100644 --- a/lib/Kconfig.kgdb +++ b/lib/Kconfig.kgdb @@ -122,6 +122,7 @@ config KDB_DEFAULT_ENABLE config KDB_KEYBOARD bool "KGDB_KDB: keyboard as input device" depends on VT && KGDB_KDB && !PARISC + depends on HAS_IOPORT default n help KDB can use a PS/2 type keyboard for an input device