mirror of
https://github.com/qemu/qemu.git
synced 2025-08-16 06:43:21 +00:00
hw/acpi/pcihp: Fix typo in function name
Fix typo in QEMU's ACPI PCI hotplug API function name that checks whether a given bus is hotplug-capable. Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
4394d23e49
commit
07153411cd
@ -34,7 +34,7 @@ void acpi_pcihp_reset(AcpiPciHpState *s)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool acpi_pcihp_is_hotpluggbale_bus(AcpiPciHpState *s, BusState *bus)
|
bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -559,7 +559,7 @@ void ich9_pm_device_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev,
|
|||||||
bool ich9_pm_is_hotpluggable_bus(HotplugHandler *hotplug_dev, BusState *bus)
|
bool ich9_pm_is_hotpluggable_bus(HotplugHandler *hotplug_dev, BusState *bus)
|
||||||
{
|
{
|
||||||
ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev);
|
ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev);
|
||||||
return acpi_pcihp_is_hotpluggbale_bus(&lpc->pm.acpi_pci_hotplug, bus);
|
return acpi_pcihp_is_hotpluggable_bus(&lpc->pm.acpi_pci_hotplug, bus);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ich9_pm_ospm_status(AcpiDeviceIf *adev, ACPIOSTInfoList ***list)
|
void ich9_pm_ospm_status(AcpiDeviceIf *adev, ACPIOSTInfoList ***list)
|
||||||
|
@ -371,7 +371,7 @@ void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev,
|
|||||||
acpi_send_event(DEVICE(hotplug_dev), ACPI_PCI_HOTPLUG_STATUS);
|
acpi_send_event(DEVICE(hotplug_dev), ACPI_PCI_HOTPLUG_STATUS);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool acpi_pcihp_is_hotpluggbale_bus(AcpiPciHpState *s, BusState *bus)
|
bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus)
|
||||||
{
|
{
|
||||||
Object *o = OBJECT(bus->parent);
|
Object *o = OBJECT(bus->parent);
|
||||||
|
|
||||||
|
@ -406,7 +406,7 @@ static bool piix4_is_hotpluggable_bus(HotplugHandler *hotplug_dev,
|
|||||||
BusState *bus)
|
BusState *bus)
|
||||||
{
|
{
|
||||||
PIIX4PMState *s = PIIX4_PM(hotplug_dev);
|
PIIX4PMState *s = PIIX4_PM(hotplug_dev);
|
||||||
return acpi_pcihp_is_hotpluggbale_bus(&s->acpi_pci_hotplug, bus);
|
return acpi_pcihp_is_hotpluggable_bus(&s->acpi_pci_hotplug, bus);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void piix4_pm_machine_ready(Notifier *n, void *opaque)
|
static void piix4_pm_machine_ready(Notifier *n, void *opaque)
|
||||||
|
@ -58,7 +58,7 @@ typedef struct AcpiPciHpState {
|
|||||||
void acpi_pcihp_init(Object *owner, AcpiPciHpState *, PCIBus *root,
|
void acpi_pcihp_init(Object *owner, AcpiPciHpState *, PCIBus *root,
|
||||||
MemoryRegion *io, uint16_t io_base);
|
MemoryRegion *io, uint16_t io_base);
|
||||||
|
|
||||||
bool acpi_pcihp_is_hotpluggbale_bus(AcpiPciHpState *s, BusState *bus);
|
bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus);
|
||||||
void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev,
|
void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev,
|
||||||
DeviceState *dev, Error **errp);
|
DeviceState *dev, Error **errp);
|
||||||
void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
|
void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
|
||||||
|
Loading…
Reference in New Issue
Block a user