[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 <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Родитель
9e254c45fb
Коммит
30d368430e
|
@ -169,7 +169,7 @@ static void of_platform_make_bus_id(struct of_device *dev)
|
||||||
char *name = dev->dev.bus_id;
|
char *name = dev->dev.bus_id;
|
||||||
const u32 *reg;
|
const u32 *reg;
|
||||||
u64 addr;
|
u64 addr;
|
||||||
long magic;
|
int magic;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If it's a DCR based device, use 'd' for native DCRs
|
* If it's a DCR based device, use 'd' for native DCRs
|
||||||
|
|
Загрузка…
Ссылка в новой задаче