diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2024-10-14 13:25:42 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-10-28 21:44:29 +0000 |
commit | d4d3125a3452a54acca69050be67b87ee2900e77 (patch) | |
tree | 1296dde3e195061c591ba2e713752268c3bb3368 /scripts/bpf_doc.py | |
parent | d533cb2d2af400f4689d8c5ca41db6d83ff173be (diff) |
watchdog: Add HAS_IOPORT dependency for SBC8360 and SBC7240
Both drivers use I/O port accesses without declaring a dependency on
CONFIG_HAS_IOPORT. For sbc8360_wdt this causes a compile error on UML
once inb()/outb() helpers become conditional.
For sbc7240_wdt this causes no such errors with UML because this driver
depends on both x86_32 and !UML. Nevertheless add HAS_IOPORT as
a dependency for both drivers to be explicit and drop the !UML
dependency for sbc7240_wdt as it is now redundant since UML implies no
HAS_IOPORT.
Fixes: 52df67b6b313 ("watchdog: add HAS_IOPORT dependencies")
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions