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

Commit dd34b5a8 authored by Florian Fainelli's avatar Florian Fainelli Committed by Ralf Baechle
Browse files

MIPS: AR7: Fix build warning on memory.c



This patch fixes the following build warning:
arch/mips/ar7/memory.c: In function 'memsize':
arch/mips/ar7/memory.c:55: warning: passing argument 1 of 'writel' makes integer from pointer without a cast

Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 838c0570
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ static int __init memsize(void)
		size <<= 1;
	} while (size < (64 << 20));

	writel(tmpaddr, &addr);
	writel((u32)tmpaddr, &addr);

	return size;
}