From db17a92d28bd57dfa550e2d91c594e10dd487c6b Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Thu, 10 Jan 2019 15:44:14 +0100 Subject: usb: Make compiling gadget support optional There is no need to compile and include this code if it is not used. CONFIG_USB_GADGET can be used for the purpose. Signed-off-by: Jean-Jacques Hiblot --- configs/omap4_panda_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/omap4_panda_defconfig') diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig index b66659f123..7ee9eea06a 100644 --- a/configs/omap4_panda_defconfig +++ b/configs/omap4_panda_defconfig @@ -36,6 +36,7 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_UDC=y CONFIG_USB_OMAP3=y +CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_SMSC95XX=y CONFIG_OF_LIBFDT=y -- cgit v1.2.3