diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/cpu-freq.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/cpu-freq.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/cpu-freq.c b/arch/arm/plat-s3c24xx/cpu-freq.c index 40ff7e2569dc..4f1b789a1173 100644 --- a/arch/arm/plat-s3c24xx/cpu-freq.c +++ b/arch/arm/plat-s3c24xx/cpu-freq.c | |||
@@ -50,6 +50,18 @@ static struct clk *clk_hclk; | |||
50 | static struct clk *clk_pclk; | 50 | static struct clk *clk_pclk; |
51 | static struct clk *clk_arm; | 51 | static struct clk *clk_arm; |
52 | 52 | ||
53 | #ifdef CONFIG_CPU_FREQ_S3C24XX_DEBUGFS | ||
54 | struct s3c_cpufreq_config *s3c_cpufreq_getconfig(void) | ||
55 | { | ||
56 | return &cpu_cur; | ||
57 | } | ||
58 | |||
59 | struct s3c_iotimings *s3c_cpufreq_getiotimings(void) | ||
60 | { | ||
61 | return &s3c24xx_iotiming; | ||
62 | } | ||
63 | #endif /* CONFIG_CPU_FREQ_S3C24XX_DEBUGFS */ | ||
64 | |||
53 | static void s3c_cpufreq_getcur(struct s3c_cpufreq_config *cfg) | 65 | static void s3c_cpufreq_getcur(struct s3c_cpufreq_config *cfg) |
54 | { | 66 | { |
55 | unsigned long fclk, pclk, hclk, armclk; | 67 | unsigned long fclk, pclk, hclk, armclk; |