commit | 95e3ec11491d0cbce9fcdf1cc17a527c114c7dcf | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Dec 15 13:03:14 2011 +0000 |
committer | Len Brown <len.brown@intel.com> | Tue Jan 17 14:19:59 2012 -0500 |
tree | 57e4630c571235499144e5592f504302efb4de95 | |
parent | 2e92c7ad8f269c2b5b7f2a4763675f55f00b75f5 [diff] |
intel_idle: Fix a cast to pointer from integer of different size warning in intel_idle Fix the following warning: drivers/idle/intel_idle.c: In function 'intel_idle_cpuidle_devices_init': drivers/idle/intel_idle.c:518:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] By making get_driver_data() return a long instead of an int. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>