diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-18 08:43:50 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 21:14:42 +0400 |
commit | 0f0520ba83e6eeeadfabb2b8750b9616219810ad (patch) | |
tree | 83488e28bad811776265cc2c8b8ece3cbae5f9e1 /drivers/usb/phy/phy-tegra-usb.c | |
parent | 492240b0a7d41db69d463a77306451e91b8f80a1 (diff) | |
download | linux-0f0520ba83e6eeeadfabb2b8750b9616219810ad.tar.xz |
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>
Diffstat (limited to 'drivers/usb/phy/phy-tegra-usb.c')
-rw-r--r-- | drivers/usb/phy/phy-tegra-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb/phy/phy-tegra-usb.c index bbe4f8e6e8d7..cd36cb43ecc0 100644 --- a/drivers/usb/phy/phy-tegra-usb.c +++ b/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 }, { }, |