diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-07-27 14:43:29 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-07-27 14:43:29 +0200 |
commit | 527c465a3c8716d93201ae34b7fc52679610596d (patch) | |
tree | e436b076df094caba9809b9c622374d396e84435 /include/linux/cpufreq.h | |
parent | fbce23a0b95763dfc4961ce6240e055c39f497ed (diff) | |
parent | 5ce000b297a1c1bb126a14b02acb40318b88a903 (diff) |
Merge branch 'for-linus' into for-next
... to make easier developing HDA ext code.
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 2ee4888c1f47..29ad97c34fd5 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -65,7 +65,9 @@ struct cpufreq_policy { unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs should set cpufreq */ - unsigned int cpu; /* cpu nr of CPU managing this policy */ + unsigned int cpu; /* cpu managing this policy, must be online */ + unsigned int kobj_cpu; /* cpu managing sysfs files, can be offline */ + struct clk *clk; struct cpufreq_cpuinfo cpuinfo;/* see above */ @@ -80,6 +82,7 @@ struct cpufreq_policy { struct cpufreq_governor *governor; /* see below */ void *governor_data; bool governor_enabled; /* governor start/stop flag */ + char last_governor[CPUFREQ_NAME_LEN]; /* last governor used */ struct work_struct update; /* if update_policy() needs to be * called, but you're in IRQ context */ |