mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-01 22:42:13 -06:00
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>
This commit is contained in:
parent
ca905bec44
commit
1352711561
1 changed files with 1 additions and 0 deletions
|
@ -370,6 +370,7 @@ static void ssd0323_class_init(ObjectClass *klass, void *data)
|
||||||
k->transfer = ssd0323_transfer;
|
k->transfer = ssd0323_transfer;
|
||||||
k->cs_polarity = SSI_CS_HIGH;
|
k->cs_polarity = SSI_CS_HIGH;
|
||||||
dc->vmsd = &vmstate_ssd0323;
|
dc->vmsd = &vmstate_ssd0323;
|
||||||
|
set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo ssd0323_info = {
|
static const TypeInfo ssd0323_info = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue