diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-18 09:45:43 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-19 23:13:28 +0200 |
commit | 90ac3862ff59a31563f81915dcc709d1eec52cdb (patch) | |
tree | 8c4498f591b2055d52b540eaddb6f4c47b5563c7 /hw/ppc/pnv_xscom.c | |
parent | 880e26074c271e88235b453107fdfd40b0940f7f (diff) | |
download | qemu-90ac3862ff59a31563f81915dcc709d1eec52cdb.zip qemu-90ac3862ff59a31563f81915dcc709d1eec52cdb.tar.gz qemu-90ac3862ff59a31563f81915dcc709d1eec52cdb.tar.bz2 |
hw/ppc/pnv_xscom: Rename pnv_xscom_realize(Error **) -> pnv_xscom_init()
pnv_xscom_realize() is not used to *realize* QDev object, rename
it as pnv_xscom_init(). The Error** argument is unused: remove it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20231019131647.19690-3-philmd@linaro.org>
Diffstat (limited to 'hw/ppc/pnv_xscom.c')
-rw-r--r-- | hw/ppc/pnv_xscom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/pnv_xscom.c b/hw/ppc/pnv_xscom.c index d820e05..af57b55 100644 --- a/hw/ppc/pnv_xscom.c +++ b/hw/ppc/pnv_xscom.c @@ -221,7 +221,7 @@ const MemoryRegionOps pnv_xscom_ops = { .endianness = DEVICE_BIG_ENDIAN, }; -void pnv_xscom_realize(PnvChip *chip, uint64_t size, Error **errp) +void pnv_xscom_init(PnvChip *chip, uint64_t size) { SysBusDevice *sbd = SYS_BUS_DEVICE(chip); char *name; |