소스 검색

usb: gadget: f_printer: fix dependencies

If f_printer is selected without legacy g_printer, it should
depend on USB_CONFIGFS which pulls in libcomposite.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Andrzej Pietrasiewicz 10 년 전
부모
커밋
f4b4976b6e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      drivers/usb/gadget/Kconfig

+ 1 - 0
drivers/usb/gadget/Kconfig

@@ -440,6 +440,7 @@ config USB_CONFIGFS_F_UVC
 config USB_CONFIGFS_F_PRINTER
 	bool "Printer function"
 	select USB_F_PRINTER
+	depends on USB_CONFIGFS
 	help
 	  The Printer function channels data between the USB host and a
 	  userspace program driving the print engine. The user space