aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2015-09-26 18:22:11 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2015-10-23 12:35:18 +1100
commit175fe9e7c886263258602262c341c472bc64be42 (patch)
tree31490cdbea85c8e8cffb6757e15662d9967828fc /hw
parentf9f2a9f26f74b4572c51e74be7fd97fa34c920d3 (diff)
downloadqemu-175fe9e7c886263258602262c341c472bc64be42.zip
qemu-175fe9e7c886263258602262c341c472bc64be42.tar.gz
qemu-175fe9e7c886263258602262c341c472bc64be42.tar.bz2
macio-nvram: add to misc category
The macio nvram is a non volatile RAM, so add it the misc category. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r--hw/nvram/mac_nvram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/nvram/mac_nvram.c b/hw/nvram/mac_nvram.c
index d35f8a3..9f16566 100644
--- a/hw/nvram/mac_nvram.c
+++ b/hw/nvram/mac_nvram.c
@@ -123,6 +123,7 @@ static void macio_nvram_class_init(ObjectClass *oc, void *data)
dc->reset = macio_nvram_reset;
dc->vmsd = &vmstate_macio_nvram;
dc->props = macio_nvram_properties;
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}
static const TypeInfo macio_nvram_type_info = {