X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fmips%2Fau1000%2Fpb1100%2Finit.c;h=7c6792308bc5b85f372af92adee39811862ad3c7;hb=676056132425ac425d7215cdaa8bd25582e07966;hp=8355483f3de2a65503e60ac5801eada3679ee08b;hpb=b4ef290d7c3abd1bf8cefcf8def359537fda7f31;p=pandora-kernel.git diff --git a/arch/mips/au1000/pb1100/init.c b/arch/mips/au1000/pb1100/init.c index 8355483f3de2..7c6792308bc5 100644 --- a/arch/mips/au1000/pb1100/init.c +++ b/arch/mips/au1000/pb1100/init.c @@ -54,7 +54,7 @@ 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); }