diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2015-03-24 05:58:16 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-24 12:35:21 -0400 |
commit | f4b4976b6e3171d408d0f6e08b12189bf60d1d22 (patch) | |
tree | 0fab72bda00ac4c74b098eda65d7f8ce66dcaef5 /drivers/usb/gadget | |
parent | a3dd3befd7cb7d445fcb7c51cd922bf89afe0762 (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/Kconfig | 1 |
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 | |||
440 | config USB_CONFIGFS_F_PRINTER | 440 | config USB_CONFIGFS_F_PRINTER |
441 | bool "Printer function" | 441 | bool "Printer function" |
442 | select USB_F_PRINTER | 442 | select USB_F_PRINTER |
443 | depends on USB_CONFIGFS | ||
443 | help | 444 | help |
444 | The Printer function channels data between the USB host and a | 445 | The Printer function channels data between the USB host and a |
445 | userspace program driving the print engine. The user space | 446 | userspace program driving the print engine. The user space |