From: Gan Qixin Date: Thu, 12 Nov 2020 12:58:21 +0000 (+0800) Subject: ssd0323: put it into the 'display' category X-Git-Tag: v5.2.0~32^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=135271156153fcb3698ec16c93b011ca9b42de85;p=mirror_qemu.git 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 Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20201112125824.763182-2-ganqixin@huawei.com> Signed-off-by: Thomas Huth --- 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 = {