From: Andrzej Pietrasiewicz Date: Tue, 24 Mar 2015 09:58:16 +0000 (+0100) Subject: usb: gadget: f_printer: fix dependencies X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f4b4976b6e3171d408d0f6e08b12189bf60d1d22;p=linux-beck.git 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 Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 3bb0e67fded2..bcf83c0a6e62 100644 --- a/drivers/usb/gadget/Kconfig +++ b/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