reset: RESET_NUVOTON_MA35D1 should depend on ARCH_MA35
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 6 Jun 2023 09:55:42 +0000 (11:55 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 6 Jun 2023 10:18:44 +0000 (12:18 +0200)
commitaead1076f3dbd16ec2241f94264b1a53989101cc
tree89952ed1ec4752633d8c3fad0095a8778193235b
parent207656f7d82f85181cb40e084c47d74e53714182
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>
drivers/reset/Kconfig