summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-18 08:40:31 +0400
committerFelipe Balbi <balbi@ti.com>2014-06-30 21:14:57 +0400
commit61107d9f1b4a61ea9cc615d3b510545b292ead15 (patch)
treeac268bb5f3cf6aaa4e5581ceb2046c02ec56b244
parent0f0520ba83e6eeeadfabb2b8750b9616219810ad (diff)
downloadlinux-61107d9f1b4a61ea9cc615d3b510545b292ead15.tar.xz
usb: gadget: gr_udc: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Acked-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r--drivers/usb/gadget/gr_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/gr_udc.c b/drivers/usb/gadget/gr_udc.c
index 99a37ed03e27..5d93f2b1e394 100644
--- a/drivers/usb/gadget/gr_udc.c
+++ b/drivers/usb/gadget/gr_udc.c
@@ -2212,7 +2212,7 @@ out:
return retval;
}
-static struct of_device_id gr_match[] = {
+static const struct of_device_id gr_match[] = {
{.name = "GAISLER_USBDC"},
{.name = "01_021"},
{},