projects
/
profile
/
common
/
kernel-common.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
46fed44
..
696c723
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;
}