aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-10-11 14:47:42 +0100
committerJon Medhurst <tixy@linaro.org>2013-04-29 09:43:51 +0100
commit3615b1187865c8c2bbd764e34bcb383318b4adf0 (patch)
tree5cfccda4646fdbcf07377a508d42da6ef537ddc6 /drivers
parent6192413a24d15cf475f34da8bab9f476a461de9b (diff)
cpufreq: vexpress: Rename driver to fit within size limits
The maximum size of a cpu_freq driver is CPUFREQ_NAME_LEN (16) and the previous name was longer than this, leading to incorrect output with: $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver Reported-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/vexpress_bL_cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/vexpress_bL_cpufreq.c b/drivers/cpufreq/vexpress_bL_cpufreq.c
index 2c71b2480d7..228542a21d5 100644
--- a/drivers/cpufreq/vexpress_bL_cpufreq.c
+++ b/drivers/cpufreq/vexpress_bL_cpufreq.c
@@ -258,7 +258,7 @@ static struct cpufreq_driver vexpress_cpufreq_driver = {
.target = vexpress_cpufreq_set_target,
.get = vexpress_cpufreq_get,
.init = vexpress_cpufreq_init,
- .name = "cpufreq_vexpress",
+ .name = "vexpress-spc",
.attr = vexpress_cpufreq_attr,
};