aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2025-04-28 12:25:27 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-05-08 14:22:12 +0200
commit4c5712eb0a454ab400ef7f29ced424f1fbf86d69 (patch)
tree41d85e4cdaf3ce028d6c7fa4311ffc07e8ef4a4f
parent40316f9536cb62a05916ae5eff91e736c468b053 (diff)
downloadqemu-4c5712eb0a454ab400ef7f29ced424f1fbf86d69.zip
qemu-4c5712eb0a454ab400ef7f29ced424f1fbf86d69.tar.gz
qemu-4c5712eb0a454ab400ef7f29ced424f1fbf86d69.tar.bz2
hw/pci/pcie_port: Fix pcie_slot_is_hotpluggbale_bus typo
Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org> Message-ID: <20250428102628.378046-2-eric.auger@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r--hw/pci/pcie_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci/pcie_port.c b/hw/pci/pcie_port.c
index 54f639e..f3841a2 100644
--- a/hw/pci/pcie_port.c
+++ b/hw/pci/pcie_port.c
@@ -188,7 +188,7 @@ int pcie_count_ds_ports(PCIBus *bus)
return dsp_count;
}
-static bool pcie_slot_is_hotpluggbale_bus(HotplugHandler *plug_handler,
+static bool pcie_slot_is_hotpluggable_bus(HotplugHandler *plug_handler,
BusState *bus)
{
PCIESlot *s = PCIE_SLOT(bus->parent);
@@ -221,7 +221,7 @@ static void pcie_slot_class_init(ObjectClass *oc, const void *data)
hc->plug = pcie_cap_slot_plug_cb;
hc->unplug = pcie_cap_slot_unplug_cb;
hc->unplug_request = pcie_cap_slot_unplug_request_cb;
- hc->is_hotpluggable_bus = pcie_slot_is_hotpluggbale_bus;
+ hc->is_hotpluggable_bus = pcie_slot_is_hotpluggable_bus;
}
static const TypeInfo pcie_slot_type_info = {