diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 20:20:27 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-19 11:28:15 -0500 |
commit | 3463d795bf0f8d9b32d4deabaaffcb81a1abb92b (patch) | |
tree | 079f69b416a01d78449ff0b263bf696ac2f399a1 /drivers/usb | |
parent | 557f3586aaac0202010eb70e00d2694437f0cb37 (diff) | |
download | op-kernel-dev-3463d795bf0f8d9b32d4deabaaffcb81a1abb92b.zip op-kernel-dev-3463d795bf0f8d9b32d4deabaaffcb81a1abb92b.tar.gz |
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')
-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 486f754..b51226a 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" }, {} }; |