Skip to content

Commit

Permalink
watchdog: simatic: Use idiomatic selection of P2SB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
andy-shev authored and jwrdegoede committed Aug 23, 2023
1 parent b9e6cbf commit 39ab0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 39ab0ba

Please sign in to comment.