Skip to content

Commit 7af526c

Browse files
geertugregkh
authored andcommitted
nvmem: NVMEM_NINTENDO_OTP should depend on WII
The Nintendo Wii and Wii U OTP is only present on Nintendo Wii and Wii U consoles. Hence add a dependency on WII, to prevent asking the user about this driver when configuring a kernel without Nintendo Wii and Wii U console support. Fixes: 3683b76 ("nvmem: nintendo-otp: Add new driver for the Wii and Wii U OTP") Reviewed-by: Emmanuel Gil Peyrot <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/01318920709dddc4d85fe895e2083ca0eee234d8.1631611652.git.geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d9d1232 commit 7af526c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/nvmem/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ config MTK_EFUSE
109109

110110
config NVMEM_NINTENDO_OTP
111111
tristate "Nintendo Wii and Wii U OTP Support"
112+
depends on WII || COMPILE_TEST
112113
help
113114
This is a driver exposing the OTP of a Nintendo Wii or Wii U console.
114115

0 commit comments

Comments
 (0)