diff options
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 9852b9a..f3a530e 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -470,6 +470,13 @@ static ssize_t store_scaling_governor(struct cpufreq_policy *policy, } /** + * undervolting/overclocking + * sysfs interface + */ +extern ssize_t show_UV_mV_table(struct cpufreq_policy *policy, char *buf); +extern ssize_t store_UV_mV_table(struct cpufreq_policy *policy, const char *buf, size_t count); + +/** * show_scaling_driver - show the cpufreq driver currently loaded */ static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf) @@ -592,6 +599,7 @@ cpufreq_freq_attr_rw(scaling_min_freq); cpufreq_freq_attr_rw(scaling_max_freq); cpufreq_freq_attr_rw(scaling_governor); cpufreq_freq_attr_rw(scaling_setspeed); +cpufreq_freq_attr_rw(UV_mV_table); static struct attribute *default_attrs[] = { &cpuinfo_min_freq.attr, @@ -605,6 +613,7 @@ static struct attribute *default_attrs[] = { &scaling_driver.attr, &scaling_available_governors.attr, &scaling_setspeed.attr, + &UV_mV_table.attr, NULL }; |