usb: gadget: gr_udc: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 18 Jun 2014 04:40:31 +0000 (13:40 +0900)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:14:57 +0000 (12:14 -0500)
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>
drivers/usb/gadget/gr_udc.c

index 99a37ed03e278429a08513e39a6dd6446af53d27..5d93f2b1e394b355ebbe93caf9ab5e103acf77bd 100644 (file)
@@ -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"},
        {},