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:
0f0520b
)
usb: gadget: gr_udc: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 18 Jun 2014 04:40:31 +0000
(13:40 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 30 Jun 2014 17:14:57 +0000
(12:14 -0500)
Make of_device_id array const, because all OF functions handle
it as const.
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/gr_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/gr_udc.c
b/drivers/usb/gadget/gr_udc.c
index 99a37ed03e278429a08513e39a6dd6446af53d27..5d93f2b1e394b355ebbe93caf9ab5e103acf77bd 100644
(file)
--- a/
drivers/usb/gadget/gr_udc.c
+++ b/
drivers/usb/gadget/gr_udc.c
@@
-2212,7
+2212,7
@@
out:
return retval;
}
-static struct of_device_id gr_match[] = {
+static
const
struct of_device_id gr_match[] = {
{.name = "GAISLER_USBDC"},
{.name = "01_021"},
{},