From: Jingoo Han Date: Wed, 18 Jun 2014 04:40:31 +0000 (+0900) Subject: usb: gadget: gr_udc: Make of_device_id array const X-Git-Tag: v3.17-rc1~121^2~18^2~91 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=61107d9f1b4a61ea9cc615d3b510545b292ead15;p=karo-tx-linux.git 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 Signed-off-by: Jingoo Han Signed-off-by: Felipe Balbi --- 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"}, {},