From: Cédric Le Goater Date: Thu, 24 Apr 2014 07:23:32 +0000 (+0200) Subject: powerpc/boot: Fix compile warning in 64bit X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b636031a7b0622ffdc5689ff36fb13669f00e160;p=pandora-kernel.git powerpc/boot: Fix compile warning in 64bit arch/powerpc/boot/oflib.c:211:9: warning: cast to pointer from integer of \ different size [-Wint-to-pointer-cast] return (phandle) of_call_prom("finddevice", 1, 1, name); This is a work around. The definite solution would be to define the phandle typedef as a u32, as in the kernel, but this would break the device tree ops API. Let it be for the moment. Signed-off-by: Cédric Le Goater Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed