summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2015-03-24 10:58:16 +0100
committerFelipe Balbi <balbi@ti.com>2015-03-24 11:35:21 -0500
commitf4b4976b6e3171d408d0f6e08b12189bf60d1d22 (patch)
tree0fab72bda00ac4c74b098eda65d7f8ce66dcaef5 /drivers/usb/gadget
parenta3dd3befd7cb7d445fcb7c51cd922bf89afe0762 (diff)
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/Kconfig1
1 files changed, 1 insertions, 0 deletions
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