summaryrefslogtreecommitdiff
path: root/arch/mips/au1000/pb1000/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/au1000/pb1000/init.c')
-rw-r--r--arch/mips/au1000/pb1000/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/au1000/pb1000/init.c b/arch/mips/au1000/pb1000/init.c
index 3837365d613d..8a9c7d57208d 100644
--- a/arch/mips/au1000/pb1000/init.c
+++ b/arch/mips/au1000/pb1000/init.c
@@ -52,6 +52,6 @@ void __init prom_init(void)
if (!memsize_str)
memsize = 0x04000000;
else
- memsize = strict_strtol(memsize_str, 0, NULL);
+ strict_strtol(memsize_str, 0, &memsize);
add_memory_region(0, memsize, BOOT_MEM_RAM);
}