提交 3587fb3b 编写于 作者: J Jingoo Han 提交者: Greg Kroah-Hartman

USB: ehci-msm: 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>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8968614a
...@@ -190,7 +190,7 @@ static const struct dev_pm_ops ehci_msm_dev_pm_ops = { ...@@ -190,7 +190,7 @@ static const struct dev_pm_ops ehci_msm_dev_pm_ops = {
.resume = ehci_msm_pm_resume, .resume = ehci_msm_pm_resume,
}; };
static struct of_device_id msm_ehci_dt_match[] = { static const struct of_device_id msm_ehci_dt_match[] = {
{ .compatible = "qcom,ehci-host", }, { .compatible = "qcom,ehci-host", },
{} {}
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册