diff options
author | Dan Carpenter <error27@gmail.com> | 2011-02-07 20:01:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 10:47:55 -0800 |
commit | 6b2e30c07f6c1514bb9946171770af61c305b86c (patch) | |
tree | 6d528bff0cc14d4c2dc193eab5f533fd7140e4c9 /drivers/usb/gadget/fusb300_udc.c | |
parent | 16f08a08d8148945022eb7d5ebb89e6ee8029f91 (diff) | |
download | op-kernel-dev-6b2e30c07f6c1514bb9946171770af61c305b86c.zip op-kernel-dev-6b2e30c07f6c1514bb9946171770af61c305b86c.tar.gz |
usb: fusb300_udc: add more "ep%d" names
We need FUSB300_MAX_NUM_EP (16) names otherwise the last 8 names get
initialized to garbage values in fusb300_probe().
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/fusb300_udc.c')
-rw-r--r-- | drivers/usb/gadget/fusb300_udc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c index fd4fd69..763d462 100644 --- a/drivers/usb/gadget/fusb300_udc.c +++ b/drivers/usb/gadget/fusb300_udc.c @@ -38,7 +38,8 @@ MODULE_ALIAS("platform:fusb300_udc"); static const char udc_name[] = "fusb300_udc"; static const char * const fusb300_ep_name[] = { - "ep0", "ep1", "ep2", "ep3", "ep4", "ep5", "ep6", "ep7" + "ep0", "ep1", "ep2", "ep3", "ep4", "ep5", "ep6", "ep7", "ep8", "ep9", + "ep10", "ep11", "ep12", "ep13", "ep14", "ep15" }; static void done(struct fusb300_ep *ep, struct fusb300_request *req, |