summaryrefslogtreecommitdiff
path: root/arch/mips/generic/yamon-dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/generic/yamon-dt.c')
-rw-r--r--arch/mips/generic/yamon-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/generic/yamon-dt.c b/arch/mips/generic/yamon-dt.c
index a3aa22c77cad..a07a5edbcda7 100644
--- a/arch/mips/generic/yamon-dt.c
+++ b/arch/mips/generic/yamon-dt.c
@@ -75,7 +75,7 @@ static unsigned int __init gen_fdt_mem_array(
__init int yamon_dt_append_memory(void *fdt,
const struct yamon_mem_region *regions)
{
- unsigned long phys_memsize, memsize;
+ unsigned long phys_memsize = 0, memsize;
__be32 mem_array[2 * MAX_MEM_ARRAY_ENTRIES];
unsigned int mem_entries;
int i, err, mem_off;