summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/ether.c
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2007-04-23 10:37:36 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-04-27 13:28:43 -0700
commitd2eef1fc99640f7de302dcdbcfbdfcec2eef13f6 (patch)
treeeef9d46f61e44c9a8eafda30b5ad72aa4d99ad79 /drivers/usb/gadget/ether.c
parentb504882da539c17ce6fee9da2a97f2fafabd495d (diff)
downloadlinux-d2eef1fc99640f7de302dcdbcfbdfcec2eef13f6.tar.bz2
USB: update gadget files for fsl_usb2_udc driver
Update gadget_chip.c, ether.c for newly added Freescale Highspeed USB device driver. Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r--drivers/usb/gadget/ether.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index 96df8413f391..1dd8b57f4420 100644
--- a/drivers/usb/gadget/ether.c
+++ b/drivers/usb/gadget/ether.c
@@ -282,6 +282,9 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address");
#define DEV_CONFIG_CDC
#endif
+#ifdef CONFIG_USB_GADGET_FSL_USB2
+#define DEV_CONFIG_CDC
+#endif
/* For CDC-incapable hardware, choose the simple cdc subset.
* Anything that talks bulk (without notable bugs) can do this.