]> git.hungrycats.org Git - linux/commitdiff
[PATCH] USB: Make Ethernet Gadget depend on CONFIG_NET
authorNoah J. Misch <noah@caltech.edu>
Thu, 9 Oct 2003 06:17:49 +0000 (23:17 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 9 Oct 2003 06:17:49 +0000 (23:17 -0700)
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

index 68260751ffd63d2b7a43639e3ede41ea49b8788e..21d573c77164264e02af2cea1214673313f15996 100644 (file)
@@ -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: