diff options
author | David Gibson | 2020-01-22 06:15:43 +0100 |
---|---|---|
committer | David Gibson | 2020-03-17 07:00:19 +0100 |
commit | 91335a5e1585afea9cf84ac955a59edbcd9700ab (patch) | |
tree | 1c3dd01d9cdc1318f317266b375763b44de7b5c2 /hw/ppc/spapr_ovec.c | |
parent | spapr: Move creation of ibm,architecture-vec-5 property (diff) | |
download | qemu-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 'hw/ppc/spapr_ovec.c')
-rw-r--r-- | hw/ppc/spapr_ovec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc/spapr_ovec.c b/hw/ppc/spapr_ovec.c index 0ff6d1aeae..dd003f1763 100644 --- a/hw/ppc/spapr_ovec.c +++ b/hw/ppc/spapr_ovec.c @@ -200,8 +200,8 @@ SpaprOptionVector *spapr_ovec_parse_vector(target_ulong table_addr, int vector) return ov; } -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) { uint8_t vec[OV_MAXBYTES + 1]; uint16_t vec_len; |