Commit 939e33b7 authored by Tuukka Tikkanen's avatar Tuukka Tikkanen Committed by Rafael J. Wysocki

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: default avatarTuukka Tikkanen <tuukka.tikkanen@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 4cd46bca
...@@ -118,7 +118,7 @@ struct menu_device { ...@@ -118,7 +118,7 @@ struct menu_device {
unsigned int exit_us; unsigned int exit_us;
unsigned int bucket; unsigned int bucket;
u64 correction_factor[BUCKETS]; u64 correction_factor[BUCKETS];
u32 intervals[INTERVALS]; unsigned int intervals[INTERVALS];
int interval_ptr; int interval_ptr;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment