From: Stephen Warren Date: Wed, 30 Jan 2013 03:56:17 +0000 (-0700) Subject: ARM: imx: fix imx31-dt.c time-related warning X-Git-Tag: v3.9-rc1~122^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80debae58435423def63632273139ee5fcb99c69;p=pandora-kernel.git ARM: imx: fix imx31-dt.c time-related warning Commit 6bb27d7 "ARM: delete struct sys_timer" caused the following: arch/arm/mach-imx/imx31-dt.c:56:2: warning: initialization from incompatible pointer type [enabled by default] arch/arm/mach-imx/imx31-dt.c:56:2: warning: (near initialization for ‘__mach_desc_IMX31_DT.init_time’) [enabled by default] This is because mx31_clocks_init_dt() returns int, whereas the .init_time field prototype expects a function returning void. Implement a wrapper so that the prototypes match. Reported-by: Fengguang Wu Signed-off-by: Stephen Warren Acked-by: Shawn Guo Signed-off-by: Olof Johansson --- Reading git-diff-tree failed