提交 1b45049a 编写于 作者: J Jingoo Han 提交者: Greg Kroah-Hartman

USB: ehci-tegra: 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>
上级 10e15d6d
...@@ -326,7 +326,7 @@ static const struct tegra_ehci_soc_config tegra20_soc_config = { ...@@ -326,7 +326,7 @@ static const struct tegra_ehci_soc_config tegra20_soc_config = {
.has_hostpc = false, .has_hostpc = false,
}; };
static struct of_device_id tegra_ehci_of_match[] = { static const struct of_device_id tegra_ehci_of_match[] = {
{ .compatible = "nvidia,tegra30-ehci", .data = &tegra30_soc_config }, { .compatible = "nvidia,tegra30-ehci", .data = &tegra30_soc_config },
{ .compatible = "nvidia,tegra20-ehci", .data = &tegra20_soc_config }, { .compatible = "nvidia,tegra20-ehci", .data = &tegra20_soc_config },
{ }, { },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册