]> git.baikalelectronics.ru Git - kernel.git/commit
nvmem: NVMEM_NINTENDO_OTP should depend on WII
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 14 Sep 2021 09:29:49 +0000 (11:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 15:38:37 +0000 (17:38 +0200)
commite964e63773e7904bf69954add787a938ac00e1ac
treea9c58ccd35b1bd67d0d0610ec9b37a273bea3c2f
parentb34622076c31d7ee303b1087e15741f26787d8f4
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: a3d81dbbe9fc1206 ("nvmem: nintendo-otp: Add new driver for the Wii and Wii U OTP")
Reviewed-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/01318920709dddc4d85fe895e2083ca0eee234d8.1631611652.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/Kconfig