ARM: tegra30: clocks: fix the wrong tegra_audio_sync_clk_ops name
Subsystems (3)
PATCH 1/1 ARM: tegra30: clocks: fix the wrong tegra_audio_sync_clk_ops name
It should use tegra30_audio_sync_clk_ops for tegra30. It will cause the tegra30 use the wrong audio_sync_clk_ops when build a kernel with a tegra20 and tegra30 both supported kernel. And building error when a tegra30-only kernel.
Signed-off-by Joseph Lo <[email protected]>
--- arch/arm/mach-tegra/tegra30_clocks.h | 2 +- arch/arm/mach-tegra/tegra30_clocks_data.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-tegra/tegra30_clocks.h +1 -1
@@ -28,7 +28,7 @@ extern struct clk_ops tegra30_plle_ops;extern struct clk_ops tegra_cml_clk_ops;extern struct clk_ops tegra_pciex_clk_ops;extern struct clk_ops tegra_sync_source_ops; -extern struct clk_ops tegra_audio_sync_clk_ops; +extern struct clk_ops tegra30_audio_sync_clk_ops;extern struct clk_ops tegra30_clk_double_ops;extern struct clk_ops tegra_clk_out_ops;extern struct clk_ops tegra30_super_ops;
arch/arm/mach-tegra/tegra30_clocks_data.c +1 -1
@@ -521,7 +521,7 @@ static const char *mux_audio_sync_clk[] = { }; \ static struct clk tegra_##_name = { \ .name = #_name, \ - .ops = &tegra_audio_sync_clk_ops, \ + .ops = &tegra30_audio_sync_clk_ops, \ .hw = &tegra_##_name##_hw.hw, \ .parent_names = mux_audio_sync_clk, \ .parents = tegra_sync_source_list, \
Signature · 1 line
1.7.0.4
Stephen Warren
AppliedPATCH 1/1 ARM: tegra30: clocks: fix the wrong tegra_audio_sync_clk_ops name
Quoted 4 lines · Joseph Lo
It should use
tegra30_audio_sync_clk_opsfor tegra30. It will cause the tegra30 use the wrongaudio_sync_clk_opswhen build a kernel with a tegra20 and tegra30 both supported kernel. And building error when a tegra30-only kernel.
Thanks, applied to Tegra's for-3.7/common-clk branch.