diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-05-07 12:07:56 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2024-05-11 11:32:06 +0200 |
commit | c45b8cfc6d5c12fbbc4d89b24b59402df99c1ecb (patch) | |
tree | f3f10b8c70195994d6bacb143785377efe2b94fa /drivers/irqchip/irq-starfive-jh8100-intc.c | |
parent | watchdog: sa1100: Fix PTR_ERR_OR_ZERO() vs NULL check in sa1100dog_probe() (diff) | |
download | linux-c45b8cfc6d5c12fbbc4d89b24b59402df99c1ecb.tar.xz linux-c45b8cfc6d5c12fbbc4d89b24b59402df99c1ecb.zip |
watchdog: LENOVO_SE10_WDT should depend on X86 && DMI
The Lenovo SE10 watchdog is only present on Lenovo ThinkEdge SE10
platforms, which are based on Intel Atom SoCs, and its driver relies on
DMI tables. Hence add dependencies on X86 && DMI, to prevent asking the
user about this driver when configuring a kernel without Intel Atom or
DMI support.
While at it, fix the odd indentation (spaces instead of TABs).
Fixes: 1f6602c8ed1eccac ("watchdog: lenovo_se10_wdt: Watchdog driver for Lenovo SE10 platform")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/58005595a05ef803b454b78d3ae9b8ee0675bd5d.1715076440.git.geert+renesas@glider.be
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/irqchip/irq-starfive-jh8100-intc.c')
0 files changed, 0 insertions, 0 deletions