summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Gibson2020-01-22 06:15:43 +0100
committerDavid Gibson2020-03-17 07:00:19 +0100
commit91335a5e1585afea9cf84ac955a59edbcd9700ab (patch)
tree1c3dd01d9cdc1318f317266b375763b44de7b5c2 /include
parentspapr: Move creation of ibm,architecture-vec-5 property (diff)
downloadqemu-91335a5e1585afea9cf84ac955a59edbcd9700ab.tar.gz
qemu-91335a5e1585afea9cf84ac955a59edbcd9700ab.tar.xz
qemu-91335a5e1585afea9cf84ac955a59edbcd9700ab.zip
spapr: Rename DT functions to newer naming convention
In the spapr code we've been gradually moving towards a convention that functions which create pieces of the device tree are called spapr_dt_*(). This patch speeds that along by renaming most of the things that don't yet match that so that they do. For now we leave the *_dt_populate() functions which are actual methods used in the DRCClass::dt_populate method. While we're there we remove a few comments that don't really say anything useful. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/spapr_ovec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/ppc/spapr_ovec.h b/include/hw/ppc/spapr_ovec.h
index 2bed517a2b..d4dee9e06a 100644
--- a/include/hw/ppc/spapr_ovec.h
+++ b/include/hw/ppc/spapr_ovec.h
@@ -72,8 +72,8 @@ void spapr_ovec_set(SpaprOptionVector *ov, long bitnr);
void spapr_ovec_clear(SpaprOptionVector *ov, long bitnr);
bool spapr_ovec_test(SpaprOptionVector *ov, long bitnr);
SpaprOptionVector *spapr_ovec_parse_vector(target_ulong table_addr, int vector);
-int spapr_ovec_populate_dt(void *fdt, int fdt_offset,
- SpaprOptionVector *ov, const char *name);
+int spapr_dt_ovec(void *fdt, int fdt_offset,
+ SpaprOptionVector *ov, const char *name);
/* migration */
extern const VMStateDescription vmstate_spapr_ovec;