From 563c3d38b21d913f695d0d35c265a12348ea9f1f Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Wed, 19 Nov 2008 17:10:53 +0000 Subject: Make-s3c2410-gadget-initialize-with-no-debugfs I needed the following two changes for g_ether to work with last week's stable-tracking and no CONFIG_DEBUG_FS. I don't know if they're related to moko patches, if not I can send them upstream isntead. BTW I need to boot off the SD card now because mtd only returns CRC errors and doesn't mount. Does it work for other people? Signed-off-by: Andrzej Zaborowski --- drivers/usb/gadget/composite.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/usb/gadget/composite.c') diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index f2da0269e1b..b13c47cf6b2 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -1045,7 +1045,11 @@ composite_resume(struct usb_gadget *gadget) /*-------------------------------------------------------------------------*/ static struct usb_gadget_driver composite_driver = { +#ifdef CONFIG_USB_GADGET_DUALSPEED .speed = USB_SPEED_HIGH, +#else + .speed = USB_SPEED_FULL, +#endif .bind = composite_bind, .unbind = __exit_p(composite_unbind), -- cgit v1.2.3