summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Gibson2016-10-24 03:05:57 +0200
committerDavid Gibson2016-10-28 00:38:26 +0200
commit7c866c6a600e435cf92f764b831d9cb3234ca0b4 (patch)
tree48017cbb60cb125b67f3a9813add60a0d55129cd /include
parentpseries: Move construction of /interrupt-controller fdt node (diff)
downloadqemu-7c866c6a600e435cf92f764b831d9cb3234ca0b4.tar.gz
qemu-7c866c6a600e435cf92f764b831d9cb3234ca0b4.tar.xz
qemu-7c866c6a600e435cf92f764b831d9cb3234ca0b4.zip
pseries: Consolidate construction of /chosen device tree node
For historical reasons, building the /chosen node in the guest device tree is split across several places and includes both parts which write the DT sequentially and others which use random access functions. This patch consolidates construction of the node into one place, using random access functions throughout. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/spapr_vio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/spapr_vio.h b/include/hw/ppc/spapr_vio.h
index 0b025fd66b..a0e75424fa 100644
--- a/include/hw/ppc/spapr_vio.h
+++ b/include/hw/ppc/spapr_vio.h
@@ -81,7 +81,7 @@ struct VIOsPAPRBus {
extern VIOsPAPRBus *spapr_vio_bus_init(void);
extern VIOsPAPRDevice *spapr_vio_find_by_reg(VIOsPAPRBus *bus, uint32_t reg);
extern int spapr_populate_vdevice(VIOsPAPRBus *bus, void *fdt);
-extern int spapr_populate_chosen_stdout(void *fdt, VIOsPAPRBus *bus);
+extern gchar *spapr_vio_stdout_path(VIOsPAPRBus *bus);
static inline qemu_irq spapr_vio_qirq(VIOsPAPRDevice *dev)
{