From 4c3e79271c63b4fef394141109704ecce56263d6 Mon Sep 17 00:00:00 2001 From: "Noah J. Misch" Date: Wed, 8 Oct 2003 23:17:49 -0700 Subject: [PATCH] [PATCH] USB: Make Ethernet Gadget depend on CONFIG_NET Previously, one could configure a kernel that wouldn't link by doing a 'make allnoconfig' and then a 'make menuconfig' and enabling CONFIG_EXPERIMENTAL, CONFIG_PCI, CONFIG_USB_GADGET, and CONFIG_USB_ETH. --- drivers/usb/gadget/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 68260751ffd63..21d573c771642 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -110,7 +110,7 @@ config USB_ZERO_SA1100 config USB_ETH tristate "Ethernet Gadget" - depends on USB_GADGET && (USB_DUMMY_HCD || USB_NET2280 || USB_PXA2XX || USB_SA1100) + depends on USB_GADGET && NET && (USB_DUMMY_HCD || USB_NET2280 || USB_PXA2XX || USB_SA1100) help This driver implements Ethernet style communication, in either of two ways: -- 2.53.0