Skip to content

Commit 51fbad3

Browse files
mchehabgregkh
authored andcommitted
misc: Kconfig: fix a HISI_HIKEY_USB dependency
The dependency should be just USB_ROLE_SWITCH, instead of CONFIG_USB_ROLE_SWITCH. Fixes: 2827d98 ("misc: Kconfig: add a new dependency for HISI_HIKEY_USB") Reported-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/0b6dff854c4bb412c2c11f17803e84d61385415f.1602138248.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 200da27 commit 51fbad3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/misc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ config PVPANIC
459459
config HISI_HIKEY_USB
460460
tristate "USB GPIO Hub on HiSilicon Hikey 960/970 Platform"
461461
depends on (OF && GPIOLIB) || COMPILE_TEST
462-
depends on CONFIG_USB_ROLE_SWITCH
462+
depends on USB_ROLE_SWITCH
463463
help
464464
If you say yes here this adds support for the on-board USB GPIO hub
465465
found on HiKey 960/970 boards, which is necessary to support

0 commit comments

Comments
 (0)