From: Russell King Date: Mon, 21 Nov 2005 17:03:15 +0000 (+0000) Subject: [ARM] Shut up gcc warning in clps7500 core.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b73fcf85f65a301107c89e05227cd6fd6965680;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- diff --git a/arch/arm/mach-clps7500/core.c b/arch/arm/mach-clps7500/core.c index 0364ba4b539e..d869af0023f8 100644 --- a/arch/arm/mach-clps7500/core.c +++ b/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 = { { /* IO space */ - .virtual = IO_BASE, + .virtual = (unsigned long)IO_BASE, .pfn = __phys_to_pfn(IO_START), .length = IO_SIZE, .type = MT_DEVICE