-#CPUfreq governors and cross-arch helpers
+# CPUfreq governors
+obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += userspace.o
+
+# CPUfreq cross-arch helpers
obj-$(CONFIG_CPU_FREQ_TABLE) += freq_table.o
obj-$(CONFIG_CPU_FREQ_PROC_INTF) += proc_intf.o
-obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += userspace.o
+
#endif /* CONFIG_CPU_FREQ_TABLE */
-
-/* Currently exported only for the proc interface, remove when that goes */
-extern struct cpufreq_driver *cpufreq_driver;
-
#endif /* _LINUX_CPUFREQ_H */
if (ret)
goto out;
+ /* set up files for this cpu device */
drv_attr = cpufreq_driver->attr;
while ((drv_attr) && (*drv_attr)) {
sysfs_create_file(&policy->kobj, &((*drv_attr)->attr));
drv_attr++;
}
- /* set up files for this cpu device */
-
/* set default policy */
ret = cpufreq_set_policy(&new_policy);