summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/mv_udc.h
diff options
context:
space:
mode:
authorNeil Zhang <zhangwm@marvell.com>2011-10-12 16:49:38 +0800
committerFelipe Balbi <balbi@ti.com>2011-10-13 20:42:08 +0300
commitfb22cbac8242e92d643e5d5cb81bc6307fa6fc9c (patch)
treef13405c72d094662af750ef4c72228f9f062f423 /drivers/usb/gadget/mv_udc.h
parent46e172dfb38c9dad2ea52d8c161834c1f0bd2473 (diff)
downloadblackbird-op-linux-fb22cbac8242e92d643e5d5cb81bc6307fa6fc9c.tar.gz
blackbird-op-linux-fb22cbac8242e92d643e5d5cb81bc6307fa6fc9c.zip
usb: gadget: mv_udc: add test mode support
Add test mode support for marvell udc driver. Signed-off-by: Neil Zhang <zhangwm@marvell.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/mv_udc.h')
-rw-r--r--drivers/usb/gadget/mv_udc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/mv_udc.h b/drivers/usb/gadget/mv_udc.h
index d3d26454b8bb..3e5e6ea7b0fb 100644
--- a/drivers/usb/gadget/mv_udc.h
+++ b/drivers/usb/gadget/mv_udc.h
@@ -202,6 +202,7 @@ struct mv_udc {
unsigned int ep0_dir;
unsigned int dev_addr;
+ unsigned int test_mode;
int errors;
unsigned softconnect:1,
@@ -238,6 +239,7 @@ struct mv_req {
struct mv_dtd *dtd, *head, *tail;
struct mv_ep *ep;
struct list_head queue;
+ unsigned int test_mode;
unsigned dtd_count;
unsigned mapped:1;
};
OpenPOWER on IntegriCloud