[PATCH 5/5] usb gadget: don't build small version if usbgadgetfsis selected

From: Milan Svoboda
Date: Thu May 25 2006 - 03:21:39 EST


From: Milan Svoboda <msvoboda@xxxxxxxxxxxxxxx>

usbgadgetfs allows userspace to open as many enpoints as it
needs. It's not good to limit number of endpoints by the udc
driver in this case.

This patch is against 2.6.16.13.

Signed-off-by: Milan Svoboda <msvoboda@xxxxxxxxxxxxxxx>
---



--- orig/drivers/usb/gadget/Kconfig 2006-05-15 10:20:49.000000000 +0000
+++ new_gadget/drivers/usb/gadget/Kconfig 2006-05-15 12:02:58.000000000 +0000
@@ -117,6 +117,7 @@ config USB_PXA2XX_SMALL
depends on USB_GADGET_PXA2XX
bool
default n if USB_ETH_RNDIS
+ default n if USB_GADGETFS
default y if USB_ZERO
default y if USB_ETH
default y if USB_G_SERIAL