diff options
author | Mike Turquette <mturquette@ti.com> | 2012-11-07 16:14:47 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-12 21:18:51 -0500 |
commit | f9ae32a74f0242cbef76d9baa10993d707be1714 (patch) | |
tree | 4c9e616bd4a72879405b94b039ee26ca812bed14 /arch/arm/mach-omap2/clock_common_data.c | |
parent | f51e0f9862ccf8be71219763d51e7617b95faa10 (diff) |
ARM: OMAP2+: clock: Cleanup !CONFIG_COMMON_CLK parts
Clean all #ifdef's added to common clock code. This code is no longer
needed due to migration to the common clock framework.
Signed-off-by: Mike Turquette <mturquette@ti.com>
[paul@pwsan.com: clean up new ifdefs added in clockdomain.c]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock_common_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clock_common_data.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/mach-omap2/clock_common_data.c b/arch/arm/mach-omap2/clock_common_data.c index c0d02a97b768..ef4d21bfb964 100644 --- a/arch/arm/mach-omap2/clock_common_data.c +++ b/arch/arm/mach-omap2/clock_common_data.c | |||
@@ -16,6 +16,7 @@ | |||
16 | * OMAP3xxx clock definition files. | 16 | * OMAP3xxx clock definition files. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/clk-private.h> | ||
19 | #include "clock.h" | 20 | #include "clock.h" |
20 | 21 | ||
21 | /* clksel_rate data common to 24xx/343x */ | 22 | /* clksel_rate data common to 24xx/343x */ |
@@ -115,9 +116,6 @@ const struct clksel_rate div31_1to31_rates[] = { | |||
115 | }; | 116 | }; |
116 | 117 | ||
117 | /* Clocks shared between various OMAP SoCs */ | 118 | /* Clocks shared between various OMAP SoCs */ |
118 | #ifdef CONFIG_COMMON_CLK | ||
119 | |||
120 | #include <linux/clk-private.h> | ||
121 | 119 | ||
122 | static struct clk_ops dummy_ck_ops = {}; | 120 | static struct clk_ops dummy_ck_ops = {}; |
123 | 121 | ||
@@ -126,19 +124,3 @@ struct clk dummy_ck = { | |||
126 | .ops = &dummy_ck_ops, | 124 | .ops = &dummy_ck_ops, |
127 | .flags = CLK_IS_BASIC, | 125 | .flags = CLK_IS_BASIC, |
128 | }; | 126 | }; |
129 | |||
130 | #else | ||
131 | |||
132 | struct clk virt_19200000_ck = { | ||
133 | .name = "virt_19200000_ck", | ||
134 | .ops = &clkops_null, | ||
135 | .rate = 19200000, | ||
136 | }; | ||
137 | |||
138 | struct clk virt_26000000_ck = { | ||
139 | .name = "virt_26000000_ck", | ||
140 | .ops = &clkops_null, | ||
141 | .rate = 26000000, | ||
142 | }; | ||
143 | |||
144 | #endif | ||