summaryrefslogtreecommitdiffstats
path: root/hw/acpi/nvdimm.c
diff options
context:
space:
mode:
authorXiao Guangrong2016-11-07 12:13:44 +0100
committerMichael S. Tsirkin2016-11-15 16:20:37 +0100
commit284197e41f0fe98d58ce5e8acd4966c91f28c4bd (patch)
tree2651e6498fd00dd3535e0befc0163668ccc86b71 /hw/acpi/nvdimm.c
parentnvdimm acpi: cleanup nvdimm_build_fit (diff)
downloadqemu-284197e41f0fe98d58ce5e8acd4966c91f28c4bd.tar.gz
qemu-284197e41f0fe98d58ce5e8acd4966c91f28c4bd.tar.xz
qemu-284197e41f0fe98d58ce5e8acd4966c91f28c4bd.zip
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/nvdimm.c')
-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 148999ee7a..7733f14aea 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);
}