提交 3632eba5 编写于 作者: J Jingoo Han 提交者: Greg Kroah-Hartman

USB: ehci-spear: Make of_device_id array const

Make of_device_id array const, because all OF functions handle
it as const.
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1b45049a
...@@ -150,7 +150,7 @@ static int spear_ehci_hcd_drv_remove(struct platform_device *pdev) ...@@ -150,7 +150,7 @@ static int spear_ehci_hcd_drv_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct of_device_id spear_ehci_id_table[] = { static const struct of_device_id spear_ehci_id_table[] = {
{ .compatible = "st,spear600-ehci", }, { .compatible = "st,spear600-ehci", },
{ }, { },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册