diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 22:20:27 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-19 19:28:15 +0300 |
commit | 3463d795bf0f8d9b32d4deabaaffcb81a1abb92b (patch) | |
tree | 079f69b416a01d78449ff0b263bf696ac2f399a1 /drivers/usb/gadget | |
parent | 557f3586aaac0202010eb70e00d2694437f0cb37 (diff) | |
download | linux-3463d795bf0f8d9b32d4deabaaffcb81a1abb92b.tar.xz |
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/udc/pxa27x_udc.c | 2 |
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 = { }; #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" }, {} }; |