diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/cpufreq.h | 1 | ||||
| -rw-r--r-- | include/linux/cpuidle.h | 4 | ||||
| -rw-r--r-- | include/linux/device.h | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 21e8d248d956..1fe49724da9e 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
| @@ -962,6 +962,7 @@ extern struct freq_attr cpufreq_freq_attr_scaling_boost_freqs; | |||
| 962 | extern struct freq_attr *cpufreq_generic_attr[]; | 962 | extern struct freq_attr *cpufreq_generic_attr[]; |
| 963 | int cpufreq_table_validate_and_show(struct cpufreq_policy *policy, | 963 | int cpufreq_table_validate_and_show(struct cpufreq_policy *policy, |
| 964 | struct cpufreq_frequency_table *table); | 964 | struct cpufreq_frequency_table *table); |
| 965 | int cpufreq_table_validate_and_sort(struct cpufreq_policy *policy); | ||
| 965 | 966 | ||
| 966 | unsigned int cpufreq_generic_get(unsigned int cpu); | 967 | unsigned int cpufreq_generic_get(unsigned int cpu); |
| 967 | int cpufreq_generic_init(struct cpufreq_policy *policy, | 968 | int cpufreq_generic_init(struct cpufreq_policy *policy, |
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 0b3fc229086c..a806e94c482f 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
| @@ -33,6 +33,10 @@ struct cpuidle_state_usage { | |||
| 33 | unsigned long long disable; | 33 | unsigned long long disable; |
| 34 | unsigned long long usage; | 34 | unsigned long long usage; |
| 35 | unsigned long long time; /* in US */ | 35 | unsigned long long time; /* in US */ |
| 36 | #ifdef CONFIG_SUSPEND | ||
| 37 | unsigned long long s2idle_usage; | ||
| 38 | unsigned long long s2idle_time; /* in US */ | ||
| 39 | #endif | ||
| 36 | }; | 40 | }; |
| 37 | 41 | ||
| 38 | struct cpuidle_state { | 42 | struct cpuidle_state { |
diff --git a/include/linux/device.h b/include/linux/device.h index b093405ed525..abf952c82c6d 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -769,6 +769,7 @@ enum device_link_state { | |||
| 769 | * @status: The state of the link (with respect to the presence of drivers). | 769 | * @status: The state of the link (with respect to the presence of drivers). |
| 770 | * @flags: Link flags. | 770 | * @flags: Link flags. |
| 771 | * @rpm_active: Whether or not the consumer device is runtime-PM-active. | 771 | * @rpm_active: Whether or not the consumer device is runtime-PM-active. |
| 772 | * @kref: Count repeated addition of the same link. | ||
| 772 | * @rcu_head: An RCU head to use for deferred execution of SRCU callbacks. | 773 | * @rcu_head: An RCU head to use for deferred execution of SRCU callbacks. |
| 773 | */ | 774 | */ |
| 774 | struct device_link { | 775 | struct device_link { |
| @@ -779,6 +780,7 @@ struct device_link { | |||
| 779 | enum device_link_state status; | 780 | enum device_link_state status; |
| 780 | u32 flags; | 781 | u32 flags; |
| 781 | bool rpm_active; | 782 | bool rpm_active; |
| 783 | struct kref kref; | ||
| 782 | #ifdef CONFIG_SRCU | 784 | #ifdef CONFIG_SRCU |
| 783 | struct rcu_head rcu_head; | 785 | struct rcu_head rcu_head; |
| 784 | #endif | 786 | #endif |
