usb: phy: tegra: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 18 Jun 2014 04:43:50 +0000 (13:43 +0900)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:14:42 +0000 (12:14 -0500)
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>
drivers/usb/phy/phy-tegra-usb.c

index bbe4f8e6e8d7492be10cc54cfe2f37e8001f2db6..cd36cb43ecc074ebf5c1732c10e8e061e18797f7 100644 (file)
@@ -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 },
        { },