summaryrefslogtreecommitdiffstats
path: root/hw/misc
diff options
context:
space:
mode:
authorGan Qixin2020-11-12 13:58:24 +0100
committerThomas Huth2020-11-17 10:17:02 +0100
commit46b42f715d1310cd80acfeb7c84337a128fd190b (patch)
tree1bccd3466c9eebdaceee5eb32c43b10f6aa2f96b /hw/misc
parentnand: put it into the 'storage' category (diff)
downloadqemu-46b42f715d1310cd80acfeb7c84337a128fd190b.tar.gz
qemu-46b42f715d1310cd80acfeb7c84337a128fd190b.tar.xz
qemu-46b42f715d1310cd80acfeb7c84337a128fd190b.zip
max111x: put it into the 'misc' category
The category of the max111x device is not set, put it into the 'misc' category. Signed-off-by: Gan Qixin <ganqixin@huawei.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20201112125824.763182-5-ganqixin@huawei.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/max111x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/max111x.c b/hw/misc/max111x.c
index 7e6723f343..eae0f9b598 100644
--- a/hw/misc/max111x.c
+++ b/hw/misc/max111x.c
@@ -185,6 +185,7 @@ static void max111x_class_init(ObjectClass *klass, void *data)
k->transfer = max111x_transfer;
dc->reset = max111x_reset;
dc->vmsd = &vmstate_max111x;
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}
static const TypeInfo max111x_info = {