summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2012-02-26 16:00:25 +0100
committerFelipe Balbi <balbi@ti.com>2012-02-27 16:35:06 +0200
commit34af373865b91aa4108134b5a4748d40a100111c (patch)
tree74ce74123c4f0f615dcf2e09d6ad3046f7863b15 /drivers/usb/gadget
parent1b8860df38963218a30e9f1f39d649c992cb9efa (diff)
downloadop-kernel-dev-34af373865b91aa4108134b5a4748d40a100111c.zip
op-kernel-dev-34af373865b91aa4108134b5a4748d40a100111c.tar.gz
usb: amd5536udc: Fix the type of ep_string
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/amd5536udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c
index d28bc24..9349c4e 100644
--- a/drivers/usb/gadget/amd5536udc.c
+++ b/drivers/usb/gadget/amd5536udc.c
@@ -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",
OpenPOWER on IntegriCloud