From: David Howells Date: Thu, 15 Dec 2011 13:03:14 +0000 (+0000) Subject: intel_idle: Fix a cast to pointer from integer of different size warning in intel_idle X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a53a575db32409beb35f9f856ab3a0c71589f32;p=pandora-kernel.git intel_idle: Fix a cast to pointer from integer of different size warning in intel_idle commit 95e3ec11491d0cbce9fcdf1cc17a527c114c7dcf upstream. 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 Signed-off-by: Len Brown Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed