aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGan Qixin <ganqixin@huawei.com>2020-11-12 20:58:21 +0800
committerThomas Huth <thuth@redhat.com>2020-11-17 10:17:02 +0100
commit135271156153fcb3698ec16c93b011ca9b42de85 (patch)
treed5331a23a93361fe4d753f845ed93f249bbb4e44
parentca905bec448c281ef6dd15d62d04395a37195d20 (diff)
downloadqemu-135271156153fcb3698ec16c93b011ca9b42de85.zip
qemu-135271156153fcb3698ec16c93b011ca9b42de85.tar.gz
qemu-135271156153fcb3698ec16c93b011ca9b42de85.tar.bz2
ssd0323: put it into the 'display' category
The category of the ssd0323 device is not set, put it into the 'display' category. Signed-off-by: Gan Qixin <ganqixin@huawei.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20201112125824.763182-2-ganqixin@huawei.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--hw/display/ssd0323.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/ssd0323.c b/hw/display/ssd0323.c
index 17d4b32..cbfd21d 100644
--- a/hw/display/ssd0323.c
+++ b/hw/display/ssd0323.c
@@ -370,6 +370,7 @@ static void ssd0323_class_init(ObjectClass *klass, void *data)
k->transfer = ssd0323_transfer;
k->cs_polarity = SSI_CS_HIGH;
dc->vmsd = &vmstate_ssd0323;
+ set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
}
static const TypeInfo ssd0323_info = {