]> git.proxmox.com Git - mirror_qemu.git/commit
hw/acpi/piix4: rename piix4_pm_init() to piix4_pm_initfn()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 28 May 2022 09:02:11 +0000 (10:02 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jun 2022 09:44:24 +0000 (11:44 +0200)
commitd0af99ac12d381f3dcf451c69a6cef760fdc8252
treea62faead866bb46818e0b2e591e741f13bcdbff0
parent19eb2a0da272289e8879fb2780522f37630ac651
hw/acpi/piix4: rename piix4_pm_init() to piix4_pm_initfn()

When QOMifying a device it is typical to use _init() as the suffix for an
instance_init function, however this name is already in use by the legacy
piix4_pm_init() wrapper function. Eventually the wrapper function will be
removed, but for now rename it to piix4_pm_initfn() to avoid a naming
collision.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220528091934.15520-7-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/acpi/piix4.c
hw/i386/pc_piix.c
hw/isa/piix4.c
include/hw/southbridge/piix.h