summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-18 06:41:39 +0200
committerFelipe Balbi <balbi@ti.com>2014-06-30 19:14:58 +0200
commitca118b78da329ee22d3072f1844f3e37375e94ac (patch)
treef65db543c4d1f0a77d7cb874b58bdf5e3018e145
parentusb: gadget: gr_udc: Make of_device_id array const (diff)
downloadlinux-ca118b78da329ee22d3072f1844f3e37375e94ac.tar.xz
linux-ca118b78da329ee22d3072f1844f3e37375e94ac.zip
usb: gadget: lpc32xx_udc: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r--drivers/usb/gadget/lpc32xx_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c
index e471580a2a3b..c77c6872b3ef 100644
--- a/drivers/usb/gadget/lpc32xx_udc.c
+++ b/drivers/usb/gadget/lpc32xx_udc.c
@@ -3397,7 +3397,7 @@ static int lpc32xx_udc_resume(struct platform_device *pdev)
#endif
#ifdef CONFIG_OF
-static struct of_device_id lpc32xx_udc_of_match[] = {
+static const struct of_device_id lpc32xx_udc_of_match[] = {
{ .compatible = "nxp,lpc3220-udc", },
{ },
};