projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838c057
)
MIPS: AR7: Fix build warning on memory.c
author
Florian Fainelli
<florian@openwrt.org>
Tue, 21 Jul 2009 10:38:10 +0000
(12:38 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 3 Aug 2009 16:52:44 +0000
(17:52 +0100)
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>
arch/mips/ar7/memory.c
patch
|
blob
|
history
diff --git
a/arch/mips/ar7/memory.c
b/arch/mips/ar7/memory.c
index 46fed44825a6eb00719c05fb8a2eadec482a2842..696c723dc6d42629cab14aedeb62aef983cf59ed 100644
(file)
--- 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;
}