aboutsummaryrefslogtreecommitdiff
path: root/hw/virtex_ml507.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-10-02 13:04:49 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-10-02 13:04:49 +0200
commit3b2e3dc939f289323a3f83b1ad64faa0865bf42b (patch)
tree9955686ab27c4ee997d3cb23ca26932da030d8aa /hw/virtex_ml507.c
parent2c50e26efdb7e405ecacf89e6a57a60179226dd8 (diff)
virtex: Add braces
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/virtex_ml507.c')
-rw-r--r--hw/virtex_ml507.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c
index 2af3b81620..c5bbedac7d 100644
--- a/hw/virtex_ml507.c
+++ b/hw/virtex_ml507.c
@@ -157,8 +157,9 @@ static int xilinx_load_device_tree(target_phys_addr_t addr,
fdt = load_device_tree(path, &fdt_size);
qemu_free(path);
}
- if (!fdt)
+ if (!fdt) {
return 0;
+ }
}
r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs", kernel_cmdline);