kgdb: add HAS_IOPORT dependency
authorNiklas Schnelle <schnelle@linux.ibm.com>
Wed, 3 Apr 2024 13:25:47 +0000 (15:25 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 04:07:05 +0000 (21:07 -0700)
commitb157f0e97e3ed6158cde4f247da4c537c3f6a0f9
tree59405b207e1a66bf9d5dddb3e64e52e787f56780
parent040bf9a717885d3646dcd5b4062dc3a4877ec421
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 <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/Kconfig.kgdb