Commit 61107d9f authored by Jingoo Han's avatar Jingoo Han Committed by Felipe Balbi

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: default avatarAndreas Larsson <andreas@gaisler.com>
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 0f0520ba
......@@ -2212,7 +2212,7 @@ static int gr_probe(struct platform_device *pdev)
return retval;
}
static struct of_device_id gr_match[] = {
static const struct of_device_id gr_match[] = {
{.name = "GAISLER_USBDC"},
{.name = "01_021"},
{},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment