diff options
author | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2013-08-14 19:02:38 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-23 00:24:16 +0200 |
commit | 939e33b7fcd4980f21ff4c9558eb27fe81d16cdb (patch) | |
tree | d70dd7cc9334b40427e36506b27a1fd1a8751832 /drivers/cpuidle | |
parent | 4cd46bca8ca8ad20cadf74fd9b76364c46ed0f31 (diff) | |
download | linux-939e33b7fcd4980f21ff4c9558eb27fe81d16cdb.tar.gz linux-939e33b7fcd4980f21ff4c9558eb27fe81d16cdb.tar.bz2 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.c | 2 |
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; }; |