[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 5/5] hw/i386/pc.c: fix one typo in function name
From: |
Laurent Vivier |
Subject: |
[Qemu-ppc] [PULL 5/5] hw/i386/pc.c: fix one typo in function name |
Date: |
Thu, 24 Jan 2019 13:49:06 +0100 |
From: Wei Yang <address@hidden>
Rename pc_get_hotpug_handler to pc_get_hotplug_handler.
No functional change.
Signed-off-by: Wei Yang <address@hidden>
Reviewed-by: Stefano Garzarella <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
hw/i386/pc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 73d688f842..747548b7aa 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -2285,7 +2285,7 @@ static void pc_machine_device_unplug_cb(HotplugHandler
*hotplug_dev,
}
}
-static HotplugHandler *pc_get_hotpug_handler(MachineState *machine,
+static HotplugHandler *pc_get_hotplug_handler(MachineState *machine,
DeviceState *dev)
{
if (object_dynamic_cast(OBJECT(dev), TYPE_PC_DIMM) ||
@@ -2615,7 +2615,7 @@ static void pc_machine_class_init(ObjectClass *oc, void
*data)
pcmc->save_tsc_khz = true;
pcmc->linuxboot_dma_enabled = true;
assert(!mc->get_hotplug_handler);
- mc->get_hotplug_handler = pc_get_hotpug_handler;
+ mc->get_hotplug_handler = pc_get_hotplug_handler;
mc->cpu_index_to_instance_props = pc_cpu_index_to_props;
mc->get_default_cpu_node_id = pc_get_default_cpu_node_id;
mc->possible_cpu_arch_ids = pc_possible_cpu_arch_ids;
--
2.20.1
- [Qemu-ppc] [PULL 0/5] Trivial patches patches, Laurent Vivier, 2019/01/24
- [Qemu-ppc] [PULL 4/5] virtio-net: Fix a typo, Laurent Vivier, 2019/01/24
- [Qemu-ppc] [PULL 1/5] MAINTAINERS: Fix utf-8 mangling, Laurent Vivier, 2019/01/24
- [Qemu-ppc] [PULL 5/5] hw/i386/pc.c: fix one typo in function name,
Laurent Vivier <=
- [Qemu-ppc] [PULL 2/5] contrib/gitdm: Fix a typo, Laurent Vivier, 2019/01/24
- [Qemu-ppc] [PULL 3/5] ppc: e6500 registers SPR 604 twice, Laurent Vivier, 2019/01/24
- Re: [Qemu-ppc] [Qemu-devel] [PULL 0/5] Trivial patches patches, Peter Maydell, 2019/01/25