From 3c989f3a19fc6db5866ed3172d7a620849d824c4 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Fri, 22 Sep 2017 09:51:37 +0200 Subject: [PATCH] sunxi: Fix USB_GADGET implication USB_GADGET will fail to compile if USB_MUSB_GADGET is not defined. Make sure we have that condition right. Fixes: e0ea88042d51 ("sunxi: Imply USB_ETHER") Suggested-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/Kconfig | 1 - drivers/usb/gadget/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 79571156cf..5d1ce3e72d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -704,7 +704,6 @@ config ARCH_SUNXI imply SPL_MMC_SUPPORT if MMC imply SPL_POWER_SUPPORT imply SPL_SERIAL_SUPPORT - imply USB_ETHER imply USB_GADGET config TARGET_TS4600 diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 78faac74e9..102a63b8ee 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -138,6 +138,7 @@ endif # USB_GADGET_DOWNLOAD config USB_ETHER bool "USB Ethernet Gadget" + default y if ARCH_SUNXI && USB_MUSB_GADGET help Creates an Ethernet network device through a USB peripheral controller. This will create a network interface on both the device -- 2.39.5