aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 15:20:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-18 12:27:03 -0400
commitf1f0b57db01d1045d163eeb05d5a4e7bd934561a (patch)
treecc65e360d09d225e3a6ede563a6060cb35600de4 /drivers
parent3370b0af910166e387cf4b3faeaa8b5f0cb53f29 (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-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 6a855fc9bd84..f0ae143dab6d 100644
--- a/drivers/usb/gadget/udc/pxa27x_udc.c
+++ b/drivers/usb/gadget/udc/pxa27x_udc.c
@@ -2399,7 +2399,7 @@ static struct pxa_udc memory = {
2399}; 2399};
2400 2400
2401#if defined(CONFIG_OF) 2401#if defined(CONFIG_OF)
2402static struct of_device_id udc_pxa_dt_ids[] = { 2402static const struct of_device_id udc_pxa_dt_ids[] = {
2403 { .compatible = "marvell,pxa270-udc" }, 2403 { .compatible = "marvell,pxa270-udc" },
2404 {} 2404 {}
2405}; 2405};