diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-apollon.c')
-rw-r--r-- | arch/arm/mach-omap2/board-apollon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 3e2d76f05af4..cea3abace815 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -202,7 +202,7 @@ static inline void __init apollon_init_smc91x(void) | |||
202 | return; | 202 | return; |
203 | } | 203 | } |
204 | 204 | ||
205 | clk_enable(gpmc_fck); | 205 | clk_prepare_enable(gpmc_fck); |
206 | rate = clk_get_rate(gpmc_fck); | 206 | rate = clk_get_rate(gpmc_fck); |
207 | 207 | ||
208 | eth_cs = APOLLON_ETH_CS; | 208 | eth_cs = APOLLON_ETH_CS; |
@@ -246,7 +246,7 @@ static inline void __init apollon_init_smc91x(void) | |||
246 | gpmc_cs_free(APOLLON_ETH_CS); | 246 | gpmc_cs_free(APOLLON_ETH_CS); |
247 | } | 247 | } |
248 | out: | 248 | out: |
249 | clk_disable(gpmc_fck); | 249 | clk_disable_unprepare(gpmc_fck); |
250 | clk_put(gpmc_fck); | 250 | clk_put(gpmc_fck); |
251 | } | 251 | } |
252 | 252 | ||