浏览代码

usb: phy: tegra: Make of_device_id array const

Make of_device_id array const, because all OF functions handle
it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Jingoo Han 11 年之前
父节点
当前提交
0f0520ba83
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/phy/phy-tegra-usb.c

+ 1 - 1
drivers/usb/phy/phy-tegra-usb.c

@@ -965,7 +965,7 @@ static const struct tegra_phy_soc_config tegra30_soc_config = {
 	.requires_extra_tuning_parameters = true,
 };
 
-static struct of_device_id tegra_usb_phy_id_table[] = {
+static const struct of_device_id tegra_usb_phy_id_table[] = {
 	{ .compatible = "nvidia,tegra30-usb-phy", .data = &tegra30_soc_config },
 	{ .compatible = "nvidia,tegra20-usb-phy", .data = &tegra20_soc_config },
 	{ },