ARM: tegra30: clocks: fix the wrong tegra_audio_sync_clk_ops name
authorJoseph Lo <josephl@nvidia.com>
Fri, 17 Aug 2012 06:54:10 +0000 (14:54 +0800)
committerStephen Warren <swarren@nvidia.com>
Thu, 6 Sep 2012 17:47:21 +0000 (11:47 -0600)
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>
arch/arm/mach-tegra/tegra30_clocks.h
arch/arm/mach-tegra/tegra30_clocks_data.c

index b08b8d9024a6083a82059edabf752c519d0881f6..f2f88fef6b8b3014b2b3c98f1598b41b3916b560 100644 (file)
@@ -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;
index 267350675a88bfac78c26b639a352bc535716a39..448a6df57ac9f60ee15423462712e1887cd80827 100644 (file)
@@ -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,              \