[PATCH] USB: fix gadget_is_musbhdrc()
authorDavid Brownell <david-b@pacbell.net>
Sun, 2 Apr 2006 18:18:34 +0000 (10:18 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Apr 2006 18:12:24 +0000 (11:12 -0700)
I submitted the wrong version of the patch teaching about the driver
for Mentor's Highspeed Dual Role Controller (HDRC), whoops!  This
uses the right name for that driver.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/gadget_chips.h

index c4081407171f8e7c8b01ea01a70b8bf3355ad003..aa80f0910720b2006e0b9dde609ba7f7f5cb49b4 100644 (file)
 #define gadget_is_musbhsfc(g)  0
 #endif
 
-/* Mentor high speed "dual role" controller, peripheral mode */
-#ifdef CONFIG_USB_GADGET_MUSBHDRC
-#define gadget_is_musbhdrc(g)  !strcmp("musbhdrc_udc", (g)->name)
+/* Mentor high speed "dual role" controller, in peripheral role */
+#ifdef CONFIG_USB_GADGET_MUSB_HDRC
+#define gadget_is_musbhdrc(g)  !strcmp("musb_hdrc", (g)->name)
 #else
 #define gadget_is_musbhdrc(g)  0
 #endif