diff options
Diffstat (limited to 'arch/arm/mach-omap2/clkt2xxx_sys.c')
| -rw-r--r-- | arch/arm/mach-omap2/clkt2xxx_sys.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/clkt2xxx_sys.c b/arch/arm/mach-omap2/clkt2xxx_sys.c index 8693cfdac49a..f467d072cd02 100644 --- a/arch/arm/mach-omap2/clkt2xxx_sys.c +++ b/arch/arm/mach-omap2/clkt2xxx_sys.c | |||
| @@ -22,8 +22,6 @@ | |||
| 22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
| 23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
| 24 | 24 | ||
| 25 | #include <plat/clock.h> | ||
| 26 | |||
| 27 | #include "clock.h" | 25 | #include "clock.h" |
| 28 | #include "clock2xxx.h" | 26 | #include "clock2xxx.h" |
| 29 | #include "prm2xxx_3xxx.h" | 27 | #include "prm2xxx_3xxx.h" |
| @@ -42,9 +40,8 @@ u32 omap2xxx_get_sysclkdiv(void) | |||
| 42 | return div; | 40 | return div; |
| 43 | } | 41 | } |
| 44 | 42 | ||
| 45 | unsigned long omap2xxx_sys_clk_recalc(struct clk *clk) | 43 | unsigned long omap2xxx_sys_clk_recalc(struct clk_hw *clk, |
| 44 | unsigned long parent_rate) | ||
| 46 | { | 45 | { |
| 47 | return clk->parent->rate / omap2xxx_get_sysclkdiv(); | 46 | return parent_rate / omap2xxx_get_sysclkdiv(); |
| 48 | } | 47 | } |
| 49 | |||
| 50 | |||
