diff options
author | Ross Zwisler <ross.zwisler@linux.intel.com> | 2018-05-21 10:32:00 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-05-23 17:02:03 +0300 |
commit | 1a97a478e69534f70ebbed1f27c315dbdc23f94f (patch) | |
tree | 59f51a0f08d7965f8b31b17142108a626bbce9eb /hw/mem/nvdimm.c | |
parent | 7d405b2ffbcbee4c622deb6c0ab4f5649de7fc2b (diff) | |
download | qemu-1a97a478e69534f70ebbed1f27c315dbdc23f94f.zip qemu-1a97a478e69534f70ebbed1f27c315dbdc23f94f.tar.gz qemu-1a97a478e69534f70ebbed1f27c315dbdc23f94f.tar.bz2 |
nvdimm: fix typo in label-size definition
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Fixes: commit da6789c27c2e ("nvdimm: add a macro for property "label-size"")
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Cc: Haozhong Zhang <haozhong.zhang@intel.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/mem/nvdimm.c')
-rw-r--r-- | hw/mem/nvdimm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mem/nvdimm.c b/hw/mem/nvdimm.c index acb656b..4087aca 100644 --- a/hw/mem/nvdimm.c +++ b/hw/mem/nvdimm.c @@ -89,7 +89,7 @@ static void nvdimm_set_unarmed(Object *obj, bool value, Error **errp) static void nvdimm_init(Object *obj) { - object_property_add(obj, NVDIMM_LABLE_SIZE_PROP, "int", + object_property_add(obj, NVDIMM_LABEL_SIZE_PROP, "int", nvdimm_get_label_size, nvdimm_set_label_size, NULL, NULL, NULL); object_property_add_bool(obj, NVDIMM_UNARMED_PROP, |