]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
usb: gadget: f_printer: fix dependencies
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 24 Mar 2015 09:58:16 +0000 (10:58 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Mar 2015 16:35:21 +0000 (11:35 -0500)
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>
drivers/usb/gadget/Kconfig

index 3bb0e67fded2053ad112ba78dceeb993bea164e0..bcf83c0a6e62b340899ea661955de89bbfc9df11 100644 (file)
@@ -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