projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557f358
)
usb: gadget: constify of_device_id array
author
Fabian Frederick
<fabf@skynet.be>
Mon, 16 Mar 2015 19:20:27 +0000
(20:20 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 19 Mar 2015 16:28:15 +0000
(11:28 -0500)
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/pxa27x_udc.c
b/drivers/usb/gadget/udc/pxa27x_udc.c
index 486f7546de8c618095ce04581b011ba1f4d2c287..b51226abade625d2ac0f34de68a72842d9c6742b 100644
(file)
--- a/
drivers/usb/gadget/udc/pxa27x_udc.c
+++ b/
drivers/usb/gadget/udc/pxa27x_udc.c
@@
-2387,7
+2387,7
@@
static struct pxa_udc memory = {
};
#if defined(CONFIG_OF)
-static struct of_device_id udc_pxa_dt_ids[] = {
+static
const
struct of_device_id udc_pxa_dt_ids[] = {
{ .compatible = "marvell,pxa270-udc" },
{}
};