summaryrefslogtreecommitdiffstats
path: root/hw/display/ssd0323.c
diff options
context:
space:
mode:
authorGan Qixin2020-11-12 13:58:21 +0100
committerThomas Huth2020-11-17 10:17:02 +0100
commit135271156153fcb3698ec16c93b011ca9b42de85 (patch)
treed5331a23a93361fe4d753f845ed93f249bbb4e44 /hw/display/ssd0323.c
parentgitlab-ci: Use $CI_REGISTRY instead of hard-coding registry.gitlab.com (diff)
downloadqemu-135271156153fcb3698ec16c93b011ca9b42de85.tar.gz
qemu-135271156153fcb3698ec16c93b011ca9b42de85.tar.xz
qemu-135271156153fcb3698ec16c93b011ca9b42de85.zip
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>
Diffstat (limited to 'hw/display/ssd0323.c')
-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 17d4b32ae3..cbfd21dfd5 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 = {