提交 61107d9f 编写于 作者: J Jingoo Han 提交者: 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: NAndreas Larsson <andreas@gaisler.com>
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册