summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2412/cpu-freq.c
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-07-30 23:23:42 +0100
committerBen Dooks <ben-linux@fluff.org>2009-07-30 23:22:56 +0100
commite6d197a6954c8a9ff85727c31ca61fc1da78628a (patch)
tree4f83b37f17499111ae9381746b3427996eb75007 /arch/arm/mach-s3c2412/cpu-freq.c
parentdfff4e95d749c414af3f7350835139103408a50d (diff)
downloadlinux-e6d197a6954c8a9ff85727c31ca61fc1da78628a.tar.gz
linux-e6d197a6954c8a9ff85727c31ca61fc1da78628a.tar.bz2
linux-e6d197a6954c8a9ff85727c31ca61fc1da78628a.zip
ARM: S3C: CPUFREQ: Add debugfs support for cpufreq
Add debugfs support for the cpufreq driver to allow information about the system state to be exported to the user. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2412/cpu-freq.c')
-rw-r--r--arch/arm/mach-s3c2412/cpu-freq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2412/cpu-freq.c b/arch/arm/mach-s3c2412/cpu-freq.c
index 21a66178d9b7..eb3ea1721335 100644
--- a/arch/arm/mach-s3c2412/cpu-freq.c
+++ b/arch/arm/mach-s3c2412/cpu-freq.c
@@ -190,6 +190,8 @@ static struct s3c_cpufreq_info s3c2412_cpufreq_info = {
.get_iotiming = s3c2412_iotiming_get,
.resume_clocks = s3c2412_setup_clocks,
+
+ .debug_io_show = s3c_cpufreq_debugfs_call(s3c2412_iotiming_debugfs),
};
static int s3c2412_cpufreq_add(struct sys_device *sysdev)