Browse Source

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>
Tuukka Tikkanen 12 years ago
parent
commit
939e33b7fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/cpuidle/governors/menu.c

+ 1 - 1
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;
 };