浏览代码

usb: gadget: allow serial gadget console on other configs

USB gadget serial console works on functions other than the legacy
configurations. Let the user enable it when using any function that
uses the serial utilities.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Thadeu Lima de Souza Cascardo 8 年之前
父节点
当前提交
f8faa3bf5f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/gadget/Kconfig

+ 1 - 1
drivers/usb/gadget/Kconfig

@@ -130,7 +130,7 @@ config USB_GADGET_STORAGE_NUM_BUFFERS
 
 
 config U_SERIAL_CONSOLE
 config U_SERIAL_CONSOLE
 	bool "Serial gadget console support"
 	bool "Serial gadget console support"
-	depends on USB_G_SERIAL
+	depends on USB_U_SERIAL
 	help
 	help
 	   It supports the serial gadget can be used as a console.
 	   It supports the serial gadget can be used as a console.