diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2015-03-24 10:58:16 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-24 11:35:21 -0500 |
commit | f4b4976b6e3171d408d0f6e08b12189bf60d1d22 (patch) | |
tree | 0fab72bda00ac4c74b098eda65d7f8ce66dcaef5 | |
parent | a3dd3befd7cb7d445fcb7c51cd922bf89afe0762 (diff) | |
download | linux-riscv-f4b4976b6e3171d408d0f6e08b12189bf60d1d22.tar.gz linux-riscv-f4b4976b6e3171d408d0f6e08b12189bf60d1d22.tar.bz2 linux-riscv-f4b4976b6e3171d408d0f6e08b12189bf60d1d22.zip |
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>
-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 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 |