diff options
author | Boris Ostrovsky <boris.ostrovsky@amd.com> | 2012-03-13 19:55:10 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-30 03:23:30 -0400 |
commit | 02401c06b7f6bec65f314e3cec7894502c973501 (patch) | |
tree | 3dd8ec58dc23c93b5dd50ce628953669883e33ef /include | |
parent | 1a022e3f1be11730bd8747b1af96a0274bf6356e (diff) |
cpuidle: power_usage should be declared signed integer
power_usage is always assigned a negative value and should be declared
a signed integer
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpuidle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index d557bcd0ada7..6c26a3da0e03 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -44,7 +44,7 @@ struct cpuidle_state { unsigned int flags; unsigned int exit_latency; /* in US */ - unsigned int power_usage; /* in mW */ + int power_usage; /* in mW */ unsigned int target_residency; /* in US */ unsigned int disable; |