Skip to content

Commit

Permalink
ARM: tegra30: clocks: fix the wrong tegra_audio_sync_clk_ops name
Browse files Browse the repository at this point in the history
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 <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
  • Loading branch information
Joseph Lo authored and Stephen Warren committed Sep 6, 2012
1 parent b78c030 commit 9c54db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/tegra30_clocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/tegra30_clocks_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,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, \
Expand Down

0 comments on commit 9c54db6

Please sign in to comment.