X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fmips%2Fau1000%2Fxxs1500%2Finit.c;h=7516434760a1c18d6300c3bef3b79002385330e2;hb=00e9028a95fb8a4d79f2fb695a853f33ea7d3b57;hp=b849bf501c0423fb93d8cb82f3474324b971cca1;hpb=6aa5fc434958d15a4d66d922d0416dfb03c07def;p=pandora-kernel.git diff --git a/arch/mips/au1000/xxs1500/init.c b/arch/mips/au1000/xxs1500/init.c index b849bf501c04..7516434760a1 100644 --- a/arch/mips/au1000/xxs1500/init.c +++ b/arch/mips/au1000/xxs1500/init.c @@ -53,6 +53,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); }