]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ssd0323: put it into the 'display' category
authorGan Qixin <ganqixin@huawei.com>
Thu, 12 Nov 2020 12:58:21 +0000 (20:58 +0800)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Nov 2020 09:17:02 +0000 (10:17 +0100)
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>
hw/display/ssd0323.c

index 17d4b32ae36a420782b7f23f31ff32ab6ece3e81..cbfd21dfd56a8f471cd05f4eb57937cc9b3d5192 100644 (file)
@@ -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 = {