Commit 9c54db6d authored by Joseph Lo's avatar Joseph Lo Committed by Stephen Warren

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: default avatarJoseph Lo <josephl@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent b78c030c
...@@ -28,7 +28,7 @@ extern struct clk_ops tegra30_plle_ops; ...@@ -28,7 +28,7 @@ extern struct clk_ops tegra30_plle_ops;
extern struct clk_ops tegra_cml_clk_ops; extern struct clk_ops tegra_cml_clk_ops;
extern struct clk_ops tegra_pciex_clk_ops; extern struct clk_ops tegra_pciex_clk_ops;
extern struct clk_ops tegra_sync_source_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 tegra30_clk_double_ops;
extern struct clk_ops tegra_clk_out_ops; extern struct clk_ops tegra_clk_out_ops;
extern struct clk_ops tegra30_super_ops; extern struct clk_ops tegra30_super_ops;
......
...@@ -520,7 +520,7 @@ static const char *mux_audio_sync_clk[] = { ...@@ -520,7 +520,7 @@ static const char *mux_audio_sync_clk[] = {
}; \ }; \
static struct clk tegra_##_name = { \ static struct clk tegra_##_name = { \
.name = #_name, \ .name = #_name, \
.ops = &tegra_audio_sync_clk_ops, \ .ops = &tegra30_audio_sync_clk_ops, \
.hw = &tegra_##_name##_hw.hw, \ .hw = &tegra_##_name##_hw.hw, \
.parent_names = mux_audio_sync_clk, \ .parent_names = mux_audio_sync_clk, \
.parents = tegra_sync_source_list, \ .parents = tegra_sync_source_list, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment