watchdog: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Wed, 10 Apr 2024 08:42:01 +0000 (10:42 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 4 May 2024 10:50:42 +0000 (12:50 +0200)
commit52df67b6b313984e1b58030fd1f6b8a873799e36
treea53a9e36042f5f0b4177674eaccfebf9f904ee7c
parent4c97f0433de08ab4b52d7a2747daf44430c6d489
watchdog: add HAS_IOPORT dependencies

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.

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>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240410084201.1481930-2-schnelle@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig