Skip to content

Commit

Permalink
usb: amd5536udc: Fix the type of ep_string
Browse files Browse the repository at this point in the history
Use "static const char *const" instead of "static const char *".

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Cyril Roelandt authored and Felipe Balbi committed Feb 27, 2012
1 parent 1b8860d commit 34af373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/amd5536udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static DECLARE_TASKLET(disconnect_tasklet, udc_tasklet_disconnect,

/* endpoint names used for print */
static const char ep0_string[] = "ep0in";
static const char *ep_string[] = {
static const char *const ep_string[] = {
ep0_string,
"ep1in-int", "ep2in-bulk", "ep3in-bulk", "ep4in-bulk", "ep5in-bulk",
"ep6in-bulk", "ep7in-bulk", "ep8in-bulk", "ep9in-bulk", "ep10in-bulk",
Expand Down

0 comments on commit 34af373

Please sign in to comment.