diff options
Diffstat (limited to 'arch/arm/mach-omap2/clkt2xxx_dpll.c')
| -rw-r--r-- | arch/arm/mach-omap2/clkt2xxx_dpll.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/clkt2xxx_dpll.c b/arch/arm/mach-omap2/clkt2xxx_dpll.c index 1502a7bc20bb..82572e277b97 100644 --- a/arch/arm/mach-omap2/clkt2xxx_dpll.c +++ b/arch/arm/mach-omap2/clkt2xxx_dpll.c | |||
| @@ -14,10 +14,8 @@ | |||
| 14 | #include <linux/clk.h> | 14 | #include <linux/clk.h> |
| 15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
| 16 | 16 | ||
| 17 | #include <plat/clock.h> | ||
| 18 | |||
| 19 | #include "clock.h" | 17 | #include "clock.h" |
| 20 | #include "cm2xxx_3xxx.h" | 18 | #include "cm2xxx.h" |
| 21 | #include "cm-regbits-24xx.h" | 19 | #include "cm-regbits-24xx.h" |
| 22 | 20 | ||
| 23 | /* Private functions */ | 21 | /* Private functions */ |
| @@ -31,7 +29,7 @@ | |||
| 31 | * REVISIT: DPLL can optionally enter low-power bypass by writing 0x1 | 29 | * REVISIT: DPLL can optionally enter low-power bypass by writing 0x1 |
| 32 | * instead. Add some mechanism to optionally enter this mode. | 30 | * instead. Add some mechanism to optionally enter this mode. |
| 33 | */ | 31 | */ |
| 34 | static void _allow_idle(struct clk *clk) | 32 | static void _allow_idle(struct clk_hw_omap *clk) |
| 35 | { | 33 | { |
| 36 | if (!clk || !clk->dpll_data) | 34 | if (!clk || !clk->dpll_data) |
| 37 | return; | 35 | return; |
| @@ -45,7 +43,7 @@ static void _allow_idle(struct clk *clk) | |||
| 45 | * | 43 | * |
| 46 | * Disable DPLL automatic idle control. No return value. | 44 | * Disable DPLL automatic idle control. No return value. |
| 47 | */ | 45 | */ |
| 48 | static void _deny_idle(struct clk *clk) | 46 | static void _deny_idle(struct clk_hw_omap *clk) |
| 49 | { | 47 | { |
| 50 | if (!clk || !clk->dpll_data) | 48 | if (!clk || !clk->dpll_data) |
| 51 | return; | 49 | return; |
| @@ -55,9 +53,7 @@ static void _deny_idle(struct clk *clk) | |||
| 55 | 53 | ||
| 56 | 54 | ||
| 57 | /* Public data */ | 55 | /* Public data */ |
| 58 | 56 | const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll = { | |
| 59 | const struct clkops clkops_omap2xxx_dpll_ops = { | ||
| 60 | .allow_idle = _allow_idle, | 57 | .allow_idle = _allow_idle, |
| 61 | .deny_idle = _deny_idle, | 58 | .deny_idle = _deny_idle, |
| 62 | }; | 59 | }; |
| 63 | |||
