diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:10:01 +0000 |
---|---|---|
committer | Andy Green <andy@openmoko.com> | 2008-11-19 17:10:01 +0000 |
commit | d2a2597426c2b7d619571faa973d99d6cfcc3781 (patch) | |
tree | b8cf595cbb4fbb6c7060a89298b33d50aff5291a /drivers/usb | |
parent | 0122fbb035c714844bca7333476e31ffd365b4c3 (diff) |
tracking-2.6.27-rc1-borked-eth-gadget.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/ether.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index bb1a9e8c4d9..7a27f1e64b0 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -196,33 +196,6 @@ static const struct usb_descriptor_header *otg_desc[] = { NULL, }; -static struct usb_config_descriptor -eth_config = { - .bLength = sizeof eth_config, - .bDescriptorType = USB_DT_CONFIG, - - /* compute wTotalLength on the fly */ - .bNumInterfaces = 2, - .bConfigurationValue = DEV_CONFIG_VALUE, - .iConfiguration = STRING_CDC, - .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER, - .bMaxPower = 250, -}; - -#ifdef CONFIG_USB_ETH_RNDIS -static struct usb_config_descriptor -rndis_config = { - .bLength = sizeof rndis_config, - .bDescriptorType = USB_DT_CONFIG, - - /* compute wTotalLength on the fly */ - .bNumInterfaces = 2, - .bConfigurationValue = DEV_RNDIS_CONFIG_VALUE, - .iConfiguration = STRING_RNDIS, - .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER, - .bMaxPower = 250, -}; - /* string IDs are assigned dynamically */ |