提交 51fbad38 编写于 作者: M Mauro Carvalho Chehab 提交者: Greg Kroah-Hartman

misc: Kconfig: fix a HISI_HIKEY_USB dependency

The dependency should be just USB_ROLE_SWITCH, instead
of CONFIG_USB_ROLE_SWITCH.

Fixes: 2827d98b ("misc: Kconfig: add a new dependency for HISI_HIKEY_USB")
Reported-by: NNathan Chancellor <natechancellor@gmail.com>
Reviewed-by: NNathan Chancellor <natechancellor@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/0b6dff854c4bb412c2c11f17803e84d61385415f.1602138248.git.mchehab+huawei@kernel.orgSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 200da27a
...@@ -459,7 +459,7 @@ config PVPANIC ...@@ -459,7 +459,7 @@ config PVPANIC
config HISI_HIKEY_USB config HISI_HIKEY_USB
tristate "USB GPIO Hub on HiSilicon Hikey 960/970 Platform" tristate "USB GPIO Hub on HiSilicon Hikey 960/970 Platform"
depends on (OF && GPIOLIB) || COMPILE_TEST depends on (OF && GPIOLIB) || COMPILE_TEST
depends on CONFIG_USB_ROLE_SWITCH depends on USB_ROLE_SWITCH
help help
If you say yes here this adds support for the on-board USB GPIO hub If you say yes here this adds support for the on-board USB GPIO hub
found on HiKey 960/970 boards, which is necessary to support found on HiKey 960/970 boards, which is necessary to support
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册