Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f0520ba authored by Jingoo Han's avatar Jingoo Han Committed by Felipe Balbi
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 492240b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -965,7 +965,7 @@ static const struct tegra_phy_soc_config tegra30_soc_config = {
	.requires_extra_tuning_parameters = true,
	.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,tegra30-usb-phy", .data = &tegra30_soc_config },
	{ .compatible = "nvidia,tegra20-usb-phy", .data = &tegra20_soc_config },
	{ .compatible = "nvidia,tegra20-usb-phy", .data = &tegra20_soc_config },
	{ },
	{ },