aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 15:20:27 -0400
committerFelipe Balbi <balbi@ti.com>2015-03-19 12:28:15 -0400
commit3463d795bf0f8d9b32d4deabaaffcb81a1abb92b (patch)
tree079f69b416a01d78449ff0b263bf696ac2f399a1
parent557f3586aaac0202010eb70e00d2694437f0cb37 (diff)
usb: gadget: constify of_device_id array
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>
-rw-r--r--drivers/usb/gadget/udc/pxa27x_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c
index 486f7546de8c..b51226abade6 100644
--- 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 = {
2387}; 2387};
2388 2388
2389#if defined(CONFIG_OF) 2389#if defined(CONFIG_OF)
2390static struct of_device_id udc_pxa_dt_ids[] = { 2390static const struct of_device_id udc_pxa_dt_ids[] = {
2391 { .compatible = "marvell,pxa270-udc" }, 2391 { .compatible = "marvell,pxa270-udc" },
2392 {} 2392 {}
2393}; 2393};