projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8860d
)
usb: amd5536udc: Fix the type of ep_string
author
Cyril Roelandt
<tipecaml@gmail.com>
Sun, 26 Feb 2012 15:00:25 +0000
(16:00 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 27 Feb 2012 14:35:06 +0000
(16:35 +0200)
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>
drivers/usb/gadget/amd5536udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/amd5536udc.c
b/drivers/usb/gadget/amd5536udc.c
index d28bc245ad52d9372ae02de20cfaa49f3dda651e..9349c4eb688d477df17fd212c42d722743be3a59 100644
(file)
--- 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",