Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30d36843 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Paul Mackerras
Browse files

[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: default avatarGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 9e254c45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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