summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-08-22 16:18:59 +0200
committerHans de Goede <hdegoede@redhat.com>2023-08-23 17:31:31 +0200
commit39ab0bafb8d0a7fd5c218720f4c78dda4561f5fb (patch)
tree205f0a394f3732dbd1d048f172a1562b55bd01ca /drivers/watchdog
parentplatform/x86: p2sb: Make the Kconfig symbol hidden (diff)
downloadlinux-39ab0bafb8d0a7fd5c218720f4c78dda4561f5fb.tar.xz
linux-39ab0bafb8d0a7fd5c218720f4c78dda4561f5fb.zip
watchdog: simatic: Use idiomatic selection of P2SB
While it's pretty much theoretical to be otherwise, make sure that P2SB is selected only for X86. This is idiomatic dependency which is used by all others who select it. Use it for Simatic as well. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230822141859.2139630-1-andriy.shevchenko@linux.intel.com Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 09452384221a..0cbfb496b9c8 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1683,7 +1683,7 @@ config SIEMENS_SIMATIC_IPC_WDT
depends on SIEMENS_SIMATIC_IPC && PCI
default y
select WATCHDOG_CORE
- select P2SB
+ select P2SB if X86
help
This driver adds support for several watchdogs found in Industrial
PCs from Siemens.