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>
This commit is contained in:

committed by
Paul Walmsley

parent
f51e0f9862
commit
f9ae32a74f
@@ -16,6 +16,7 @@
|
||||
* OMAP3xxx clock definition files.
|
||||
*/
|
||||
|
||||
#include <linux/clk-private.h>
|
||||
#include "clock.h"
|
||||
|
||||
/* clksel_rate data common to 24xx/343x */
|
||||
@@ -115,9 +116,6 @@ const struct clksel_rate div31_1to31_rates[] = {
|
||||
};
|
||||
|
||||
/* Clocks shared between various OMAP SoCs */
|
||||
#ifdef CONFIG_COMMON_CLK
|
||||
|
||||
#include <linux/clk-private.h>
|
||||
|
||||
static struct clk_ops dummy_ck_ops = {};
|
||||
|
||||
@@ -126,19 +124,3 @@ struct clk dummy_ck = {
|
||||
.ops = &dummy_ck_ops,
|
||||
.flags = CLK_IS_BASIC,
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
struct clk virt_19200000_ck = {
|
||||
.name = "virt_19200000_ck",
|
||||
.ops = &clkops_null,
|
||||
.rate = 19200000,
|
||||
};
|
||||
|
||||
struct clk virt_26000000_ck = {
|
||||
.name = "virt_26000000_ck",
|
||||
.ops = &clkops_null,
|
||||
.rate = 26000000,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user