Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

reset: RESET_NUVOTON_MA35D1 should depend on ARCH_MA35

The Nuvoton MA35D1 reset controller is only present on Nuvoton MA35
SoCs. Hence add a dependency on ARCH_MA35, to prevent asking the user
about this driver when configuring a kernel without MA35 SoC support.
Also, do not enable the driver by default when merely compile-testing.

While at it, fix a misspelling of "Nuvoton".

Fixes: e4bb55d6ccf0f774 ("reset: Add Nuvoton ma35d1 reset driver support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Geert Uytterhoeven and committed by
Arnd Bergmann
aead1076 207656f7

+3 -2
+3 -2
drivers/reset/Kconfig
··· 144 144 BMC SoCs. 145 145 146 146 config RESET_NUVOTON_MA35D1 147 - bool "Nuvton MA35D1 Reset Driver" 148 - default ARCH_MA35 || COMPILE_TEST 147 + bool "Nuvoton MA35D1 Reset Driver" 148 + depends on ARCH_MA35 || COMPILE_TEST 149 + default ARCH_MA35 149 150 help 150 151 This enables the reset controller driver for Nuvoton MA35D1 SoC. 151 152