From: Geert Uytterhoeven Date: Thu, 7 Dec 2006 15:49:18 +0000 (+0100) Subject: [POWERPC] of_platform_make_bus_id(): make `magic' int X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=30d368430e71bbeaa52ae978b10b6f5f6267d912;p=linux-beck.git [POWERPC] of_platform_make_bus_id(): make `magic' int of_platform_make_bus_id(): Kill a compiler warning which is a real bug on PPC64 by changing `magic' to `int'. Signed-off-by: Geert Uytterhoeven Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c index b3189d0161b8..3002ea3a61a2 100644 --- a/arch/powerpc/kernel/of_platform.c +++ b/arch/powerpc/kernel/of_platform.c @@ -169,7 +169,7 @@ static void of_platform_make_bus_id(struct of_device *dev) char *name = dev->dev.bus_id; const u32 *reg; u64 addr; - long magic; + int magic; /* * If it's a DCR based device, use 'd' for native DCRs