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:
61107d9
)
usb: gadget: lpc32xx_udc: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 18 Jun 2014 04:41:39 +0000
(13:41 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 30 Jun 2014 17:14:58 +0000
(12:14 -0500)
Make of_device_id array const, because all OF functions handle
it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/lpc32xx_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/lpc32xx_udc.c
b/drivers/usb/gadget/lpc32xx_udc.c
index e471580a2a3bee941ca5b4a251c618215b242105..c77c6872b3efffa3ea57275b24b6afa14741e986 100644
(file)
--- a/
drivers/usb/gadget/lpc32xx_udc.c
+++ b/
drivers/usb/gadget/lpc32xx_udc.c
@@
-3397,7
+3397,7
@@
static int lpc32xx_udc_resume(struct platform_device *pdev)
#endif
#ifdef CONFIG_OF
-static struct of_device_id lpc32xx_udc_of_match[] = {
+static
const
struct of_device_id lpc32xx_udc_of_match[] = {
{ .compatible = "nxp,lpc3220-udc", },
{ },
};