Эх сурвалжийг харах

[ARM] Shut up gcc warning in clps7500 core.c

core.c:263: warning: initialization makes integer from pointer without a cast

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 19 жил өмнө
parent
commit
9b73fcf85f

+ 1 - 1
arch/arm/mach-clps7500/core.c

@@ -260,7 +260,7 @@ static void __init clps7500_init_irq(void)
 
 
 static struct map_desc cl7500_io_desc[] __initdata = {
 static struct map_desc cl7500_io_desc[] __initdata = {
 	{ 	/* IO space	*/
 	{ 	/* IO space	*/
-		.virtual	= IO_BASE,
+		.virtual	= (unsigned long)IO_BASE,
 		.pfn		= __phys_to_pfn(IO_START),
 		.pfn		= __phys_to_pfn(IO_START),
 		.length		= IO_SIZE,
 		.length		= IO_SIZE,
 		.type		= MT_DEVICE
 		.type		= MT_DEVICE