aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2016-11-07 19:13:44 +0800
committerMichael S. Tsirkin <mst@redhat.com>2016-11-15 17:20:37 +0200
commit284197e41f0fe98d58ce5e8acd4966c91f28c4bd (patch)
tree2651e6498fd00dd3535e0befc0163668ccc86b71 /hw/acpi
parent880f36125371a969905a3be83a9099ca451b5c12 (diff)
downloadqemu-284197e41f0fe98d58ce5e8acd4966c91f28c4bd.zip
qemu-284197e41f0fe98d58ce5e8acd4966c91f28c4bd.tar.gz
qemu-284197e41f0fe98d58ce5e8acd4966c91f28c4bd.tar.bz2
nvdimm acpi: rename nvdimm_acpi_hotplug
Rename it to nvdimm_plug() Suggested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/acpi')
-rw-r--r--hw/acpi/nvdimm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c
index 148999e..7733f14 100644
--- a/hw/acpi/nvdimm.c
+++ b/hw/acpi/nvdimm.c
@@ -380,7 +380,7 @@ static void nvdimm_build_fit_buffer(NvdimmFitBuffer *fit_buf)
fit_buf->dirty = true;
}
-void nvdimm_acpi_hotplug(AcpiNVDIMMState *state)
+void nvdimm_plug(AcpiNVDIMMState *state)
{
nvdimm_build_fit_buffer(&state->fit_buf);
}