summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/pnv_xscom.h
diff options
context:
space:
mode:
authorCédric Le Goater2017-12-15 14:56:01 +0100
committerDavid Gibson2018-01-10 02:53:00 +0100
commitb168a138a8bc9c18e8140fef614a6b66721497fb (patch)
treea65296e00934abd21702f02a7a3387014972be5d /include/hw/ppc/pnv_xscom.h
parenthw/ide: Emulate SiI3112 SATA controller (diff)
downloadqemu-b168a138a8bc9c18e8140fef614a6b66721497fb.tar.gz
qemu-b168a138a8bc9c18e8140fef614a6b66721497fb.tar.xz
qemu-b168a138a8bc9c18e8140fef614a6b66721497fb.zip
ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency
The 'pnv' prefix is now used for all and the routines populating the device tree start with 'pnv_dt'. The handler of the PnvXScomInterface is also renamed to 'dt_xscom' which should reflect that it is populating the device tree under the 'xscom@' node of the chip. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/pnv_xscom.h')
-rw-r--r--include/hw/ppc/pnv_xscom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/ppc/pnv_xscom.h b/include/hw/ppc/pnv_xscom.h
index 38077b4796..7252e219e2 100644
--- a/include/hw/ppc/pnv_xscom.h
+++ b/include/hw/ppc/pnv_xscom.h
@@ -36,7 +36,7 @@ typedef struct PnvXScomInterface {
typedef struct PnvXScomInterfaceClass {
InterfaceClass parent;
- int (*populate)(PnvXScomInterface *dev, void *fdt, int offset);
+ int (*dt_xscom)(PnvXScomInterface *dev, void *fdt, int offset);
} PnvXScomInterfaceClass;
/*
@@ -67,7 +67,7 @@ typedef struct PnvXScomInterfaceClass {
#define PNV_XSCOM_OCC_SIZE 0x6000
extern void pnv_xscom_realize(PnvChip *chip, Error **errp);
-extern int pnv_xscom_populate(PnvChip *chip, void *fdt, int offset);
+extern int pnv_dt_xscom(PnvChip *chip, void *fdt, int offset);
extern void pnv_xscom_add_subregion(PnvChip *chip, hwaddr offset,
MemoryRegion *mr);