[PATCH] USB: fix gadget_is_musbhdrc()

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>
This commit is contained in:
David Brownell 2006-04-02 10:18:34 -08:00 коммит произвёл Greg Kroah-Hartman
Родитель 89ccbdc91b
Коммит 42795410c3
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -100,9 +100,9 @@
#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