diff options
Diffstat (limited to 'arch/arm/mach-s5p64x0/clock-s5p6440.c')
-rw-r--r-- | arch/arm/mach-s5p64x0/clock-s5p6440.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-s5p64x0/clock-s5p6440.c b/arch/arm/mach-s5p64x0/clock-s5p6440.c index 0e9cd3092dd2..c1f548f69a0d 100644 --- a/arch/arm/mach-s5p64x0/clock-s5p6440.c +++ b/arch/arm/mach-s5p64x0/clock-s5p6440.c | |||
@@ -146,7 +146,7 @@ static struct clk init_clocks_off[] = { | |||
146 | .enable = s5p64x0_hclk0_ctrl, | 146 | .enable = s5p64x0_hclk0_ctrl, |
147 | .ctrlbit = (1 << 8), | 147 | .ctrlbit = (1 << 8), |
148 | }, { | 148 | }, { |
149 | .name = "pdma", | 149 | .name = "dma", |
150 | .parent = &clk_hclk_low.clk, | 150 | .parent = &clk_hclk_low.clk, |
151 | .enable = s5p64x0_hclk0_ctrl, | 151 | .enable = s5p64x0_hclk0_ctrl, |
152 | .ctrlbit = (1 << 12), | 152 | .ctrlbit = (1 << 12), |
@@ -499,6 +499,11 @@ static struct clksrc_clk *sysclks[] = { | |||
499 | &clk_pclk_low, | 499 | &clk_pclk_low, |
500 | }; | 500 | }; |
501 | 501 | ||
502 | static struct clk dummy_apb_pclk = { | ||
503 | .name = "apb_pclk", | ||
504 | .id = -1, | ||
505 | }; | ||
506 | |||
502 | void __init_or_cpufreq s5p6440_setup_clocks(void) | 507 | void __init_or_cpufreq s5p6440_setup_clocks(void) |
503 | { | 508 | { |
504 | struct clk *xtal_clk; | 509 | struct clk *xtal_clk; |
@@ -581,5 +586,7 @@ void __init s5p6440_register_clocks(void) | |||
581 | s3c_register_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); | 586 | s3c_register_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); |
582 | s3c_disable_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); | 587 | s3c_disable_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); |
583 | 588 | ||
589 | s3c24xx_register_clock(&dummy_apb_pclk); | ||
590 | |||
584 | s3c_pwmclk_init(); | 591 | s3c_pwmclk_init(); |
585 | } | 592 | } |