mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Fix warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6756 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -83,7 +83,7 @@ struct prom_pmemblock * __init prom_getmdesc(void)
|
|||||||
ptr = strstr(cmdline, "memsize=");
|
ptr = strstr(cmdline, "memsize=");
|
||||||
if (ptr && (ptr != cmdline) && (*(ptr - 1) != ' '))
|
if (ptr && (ptr != cmdline) && (*(ptr - 1) != ' '))
|
||||||
ptr = strstr(ptr, " memsize=");
|
ptr = strstr(ptr, " memsize=");
|
||||||
|
|
||||||
if (ptr)
|
if (ptr)
|
||||||
memsize = memparse(ptr + 8, &ptr);
|
memsize = memparse(ptr + 8, &ptr);
|
||||||
else
|
else
|
||||||
@@ -131,5 +131,5 @@ void __init prom_meminit(void)
|
|||||||
unsigned long __init prom_free_prom_memory(void)
|
unsigned long __init prom_free_prom_memory(void)
|
||||||
{
|
{
|
||||||
/* We do not have to prom memory to free */
|
/* We do not have to prom memory to free */
|
||||||
return;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user