usb: gadget: gr_udc: Make of_device_id array const
authorJingoo Han <[email protected]>
Wed, 18 Jun 2014 04:40:31 +0000 (13:40 +0900)
committerFelipe Balbi <[email protected]>
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 <[email protected]>
Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
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"},
        {},