diff options
author | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:02 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-12-11 19:16:02 -0500 |
commit | 24ed45aa0776f9f645aa1ac1a88b2e1d5f29a9aa (patch) | |
tree | 6fdca6b205015558663dcfa523f87d6c6ffa7afa /arch/arm/plat-omap/clock.c | |
parent | aa2cf420593b67cc93de7a3f675b2a88eba0505f (diff) | |
parent | 911bd7395c4aa4e74b13aab790ca1500c59fae02 (diff) |
Merge branch 'for_2_6_33' of git://git.pwsan.com/linux-2.6 into omap-for-linus
Diffstat (limited to 'arch/arm/plat-omap/clock.c')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index 681bfc37ebb2..89cafc937249 100644 --- a/arch/arm/plat-omap/clock.c +++ b/arch/arm/plat-omap/clock.c | |||
@@ -40,36 +40,10 @@ static struct clk_functions *arch_clock; | |||
40 | * clock framework is not up , it is defined here to avoid rework in | 40 | * clock framework is not up , it is defined here to avoid rework in |
41 | * every driver. Also dummy prcm reset function is added */ | 41 | * every driver. Also dummy prcm reset function is added */ |
42 | 42 | ||
43 | /* Dummy hooks only for OMAP4.For rest OMAPs, common clkdev is used */ | ||
44 | #if defined(CONFIG_ARCH_OMAP4) | ||
45 | struct clk *clk_get(struct device *dev, const char *id) | ||
46 | { | ||
47 | return NULL; | ||
48 | } | ||
49 | EXPORT_SYMBOL(clk_get); | ||
50 | |||
51 | void clk_put(struct clk *clk) | ||
52 | { | ||
53 | } | ||
54 | EXPORT_SYMBOL(clk_put); | ||
55 | |||
56 | void omap2_clk_prepare_for_reboot(void) | ||
57 | { | ||
58 | } | ||
59 | EXPORT_SYMBOL(omap2_clk_prepare_for_reboot); | ||
60 | |||
61 | void omap_prcm_arch_reset(char mode) | ||
62 | { | ||
63 | } | ||
64 | EXPORT_SYMBOL(omap_prcm_arch_reset); | ||
65 | #endif | ||
66 | int clk_enable(struct clk *clk) | 43 | int clk_enable(struct clk *clk) |
67 | { | 44 | { |
68 | unsigned long flags; | 45 | unsigned long flags; |
69 | int ret = 0; | 46 | int ret = 0; |
70 | if (cpu_is_omap44xx()) | ||
71 | /* OMAP4 clk framework not supported yet */ | ||
72 | return 0; | ||
73 | 47 | ||
74 | if (clk == NULL || IS_ERR(clk)) | 48 | if (clk == NULL || IS_ERR(clk)) |
75 | return -EINVAL; | 49 | return -EINVAL; |