summaryrefslogtreecommitdiffstats
path: root/arch/ppc/boot/of1275/claim.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/boot/of1275/claim.c')
-rw-r--r--arch/ppc/boot/of1275/claim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/boot/of1275/claim.c b/arch/ppc/boot/of1275/claim.c
index e060292ae2a7..13169a5c4339 100644
--- a/arch/ppc/boot/of1275/claim.c
+++ b/arch/ppc/boot/of1275/claim.c
@@ -29,6 +29,7 @@ claim(unsigned int virt, unsigned int size, unsigned int align)
args.virt = virt;
args.size = size;
args.align = align;
+ args.ret = (void *) 0;
(*of_prom_entry)(&args);
return args.ret;
}