]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/cpufreq/acpi-cpufreq.c
acpi-cpufreq: Use cpufreq_freq_attr_rw to define the cpb attribute
[karo-tx-linux.git] / drivers / cpufreq / acpi-cpufreq.c
index 9b5d1b1a9c036dc66454ea1e05cad89953e9f95f..a1260b4549db647336192d24b3471b6b627897af 100644 (file)
@@ -197,7 +197,7 @@ static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf)
        return sprintf(buf, "%u\n", boost_enabled);
 }
 
-static struct freq_attr cpb = __ATTR(cpb, 0644, show_cpb, store_cpb);
+cpufreq_freq_attr_rw(cpb);
 #endif
 
 static int check_est_cpu(unsigned int cpuid)