diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-21 12:38:10 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 17:52:44 +0100 |
commit | dd34b5a82feadfaee4f8dea83a694d9349f94a28 (patch) | |
tree | e2f17d411a511441dd23413574f428b95896b2aa /arch/mips | |
parent | 838c05705ef8c110037a713526bb18762db0a241 (diff) | |
download | linux-dd34b5a82feadfaee4f8dea83a694d9349f94a28.tar.bz2 |
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: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/ar7/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ar7/memory.c b/arch/mips/ar7/memory.c index 46fed44825a6..696c723dc6d4 100644 --- a/arch/mips/ar7/memory.c +++ b/arch/mips/ar7/memory.c @@ -52,7 +52,7 @@ static int __init memsize(void) size <<= 1; } while (size < (64 << 20)); - writel(tmpaddr, &addr); + writel((u32)tmpaddr, &addr); return size; } |