summaryrefslogtreecommitdiffstats
path: root/drivers
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
parent4cd46bca8ca8ad20cadf74fd9b76364c46ed0f31 (diff)
downloadop-kernel-dev-939e33b7fcd4980f21ff4c9558eb27fe81d16cdb.zip
op-kernel-dev-939e33b7fcd4980f21ff4c9558eb27fe81d16cdb.tar.gz
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')
-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 94a3037..ee88838 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;
};
OpenPOWER on IntegriCloud