Commit 0f0520ba83e6eeeadfabb2b8750b9616219810ad
Committed by
Felipe Balbi
1 parent
492240b0a7
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/usb/phy/phy-tegra-usb.c
... | ... | @@ -965,7 +965,7 @@ |
965 | 965 | .requires_extra_tuning_parameters = true, |
966 | 966 | }; |
967 | 967 | |
968 | -static struct of_device_id tegra_usb_phy_id_table[] = { | |
968 | +static const struct of_device_id tegra_usb_phy_id_table[] = { | |
969 | 969 | { .compatible = "nvidia,tegra30-usb-phy", .data = &tegra30_soc_config }, |
970 | 970 | { .compatible = "nvidia,tegra20-usb-phy", .data = &tegra20_soc_config }, |
971 | 971 | { }, |