summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/gadget_chips.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-07-10 03:16:27 +0200
committerMarek Vasut <marex@denx.de>2013-07-29 23:01:31 +0200
commita7eafcfe45427235804ef60e9983a84fbce3ea07 (patch)
tree6733524d46da9ce111b3f49665c613cc75df6496 /drivers/usb/gadget/gadget_chips.h
parent9fab4bf4cc077c21e43941866f3f2c196f28670d (diff)
usb: mv_udc: Unbreak the mv_udc driver
The mv_udc driver is broken for a while and doesn't even compile. This patch fixes the issues and gets the driver into working state again. This driver was tested on Freescale i.MX233/i.MX28 . Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Lei Wen <leiwen@marvell.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/usb/gadget/gadget_chips.h')
-rw-r--r--drivers/usb/gadget/gadget_chips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/gadget_chips.h b/drivers/usb/gadget/gadget_chips.h
index f038747e63..aa54b8547e 100644
--- a/drivers/usb/gadget/gadget_chips.h
+++ b/drivers/usb/gadget/gadget_chips.h
@@ -144,7 +144,7 @@
#define gadget_is_m66592(g) 0
#endif
-#ifdef CONFIG_USB_GADGET_MV
+#ifdef CONFIG_MV_UDC
#define gadget_is_mv(g) (!strcmp("mv_udc", (g)->name))
#else
#define gadget_is_mv(g) 0