diff options
| -rw-r--r-- | drivers/cpufreq/cpufreq.c | 13 | 
1 files changed, 8 insertions, 5 deletions
| diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index ff57c40e9b8b..5b9b1c8c4950 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
| @@ -767,8 +767,9 @@ static struct kobj_type ktype_cpufreq = { | |||
| 767 | * 0: Success | 767 | * 0: Success | 
| 768 | * Positive: When we have a managed CPU and the sysfs got symlinked | 768 | * Positive: When we have a managed CPU and the sysfs got symlinked | 
| 769 | */ | 769 | */ | 
| 770 | int cpufreq_add_dev_policy(unsigned int cpu, struct cpufreq_policy *policy, | 770 | static int cpufreq_add_dev_policy(unsigned int cpu, | 
| 771 | struct sys_device *sys_dev) | 771 | struct cpufreq_policy *policy, | 
| 772 | struct sys_device *sys_dev) | ||
| 772 | { | 773 | { | 
| 773 | int ret = 0; | 774 | int ret = 0; | 
| 774 | #ifdef CONFIG_SMP | 775 | #ifdef CONFIG_SMP | 
| @@ -842,7 +843,8 @@ int cpufreq_add_dev_policy(unsigned int cpu, struct cpufreq_policy *policy, | |||
| 842 | 843 | ||
| 843 | 844 | ||
| 844 | /* symlink affected CPUs */ | 845 | /* symlink affected CPUs */ | 
| 845 | int cpufreq_add_dev_symlink(unsigned int cpu, struct cpufreq_policy *policy) | 846 | static int cpufreq_add_dev_symlink(unsigned int cpu, | 
| 847 | struct cpufreq_policy *policy) | ||
| 846 | { | 848 | { | 
| 847 | unsigned int j; | 849 | unsigned int j; | 
| 848 | int ret = 0; | 850 | int ret = 0; | 
| @@ -869,8 +871,9 @@ int cpufreq_add_dev_symlink(unsigned int cpu, struct cpufreq_policy *policy) | |||
| 869 | return ret; | 871 | return ret; | 
| 870 | } | 872 | } | 
| 871 | 873 | ||
| 872 | int cpufreq_add_dev_interface(unsigned int cpu, struct cpufreq_policy *policy, | 874 | static int cpufreq_add_dev_interface(unsigned int cpu, | 
| 873 | struct sys_device *sys_dev) | 875 | struct cpufreq_policy *policy, | 
| 876 | struct sys_device *sys_dev) | ||
| 874 | { | 877 | { | 
| 875 | struct cpufreq_policy new_policy; | 878 | struct cpufreq_policy new_policy; | 
| 876 | struct freq_attr **drv_attr; | 879 | struct freq_attr **drv_attr; | 
