aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorTuukka Tikkanen <tuukka.tikkanen@linaro.org>2013-08-14 19:02:38 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-23 00:24:16 +0200
commit939e33b7fcd4980f21ff4c9558eb27fe81d16cdb (patch)
treed70dd7cc9334b40427e36506b27a1fd1a8751832 /drivers/cpuidle
parent4cd46bca8ca8ad20cadf74fd9b76364c46ed0f31 (diff)
downloadkernel_replicant_linux-939e33b7fcd4980f21ff4c9558eb27fe81d16cdb.tar.gz
kernel_replicant_linux-939e33b7fcd4980f21ff4c9558eb27fe81d16cdb.tar.bz2
kernel_replicant_linux-939e33b7fcd4980f21ff4c9558eb27fe81d16cdb.zip
cpuidle: Fix menu_device->intervals type
Struct menu_device member intervals is declared as u32, but the value stored is (unsigned) int. The type is changed to match the value being stored. Signed-off-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/governors/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
index 94a303739ba8..ee88838d7f08 100644
--- a/drivers/cpuidle/governors/menu.c
+++ b/drivers/cpuidle/governors/menu.c
@@ -118,7 +118,7 @@ struct menu_device {
unsigned int exit_us;
unsigned int bucket;
u64 correction_factor[BUCKETS];
- u32 intervals[INTERVALS];
+ unsigned int intervals[INTERVALS];
int interval_ptr;
};