[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 11/12] spitz: put some Spitz-family devices into the correct c
From: |
Gan Qixin |
Subject: |
[PATCH v2 11/12] spitz: put some Spitz-family devices into the correct category |
Date: |
Mon, 30 Nov 2020 16:36:29 +0800 |
Some Spitz-family devices have no category, put them into the correct category.
Signed-off-by: Gan Qixin <ganqixin@huawei.com>
---
Cc: Peter Maydell <peter.maydell@linaro.org>
---
hw/arm/spitz.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/arm/spitz.c b/hw/arm/spitz.c
index 32bdeacfd3..0e5e8a4634 100644
--- a/hw/arm/spitz.c
+++ b/hw/arm/spitz.c
@@ -1218,6 +1218,7 @@ static void corgi_ssp_class_init(ObjectClass *klass, void
*data)
k->realize = corgi_ssp_realize;
k->transfer = corgi_ssp_transfer;
dc->vmsd = &vmstate_corgi_ssp_regs;
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}
static const TypeInfo corgi_ssp_info = {
@@ -1247,6 +1248,7 @@ static void spitz_lcdtg_class_init(ObjectClass *klass,
void *data)
k->realize = spitz_lcdtg_realize;
k->transfer = spitz_lcdtg_transfer;
dc->vmsd = &vmstate_spitz_lcdtg_regs;
+ set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
}
static const TypeInfo spitz_lcdtg_info = {
--
2.23.0
- [PATCH v2 01/12] pc-dimm: put it into the 'storage' category, (continued)
- [PATCH v2 01/12] pc-dimm: put it into the 'storage' category, Gan Qixin, 2020/11/30
- [PATCH v2 03/12] vmmouse: put it into the 'input' category, Gan Qixin, 2020/11/30
- [PATCH v2 05/12] mc146818rtc: put it into the 'misc' category, Gan Qixin, 2020/11/30
- [PATCH v2 04/12] nvdimm: put it into the 'storage' category, Gan Qixin, 2020/11/30
- [PATCH v2 06/12] ipmi: put some ipmi devices into the correct category, Gan Qixin, 2020/11/30
- [PATCH v2 07/12] tpm: put some tpm devices into the correct category, Gan Qixin, 2020/11/30
- [PATCH v2 08/12] AMDVI-PCI: put it into the 'misc' category, Gan Qixin, 2020/11/30
- [PATCH v2 11/12] spitz: put some Spitz-family devices into the correct category,
Gan Qixin <=
- [PATCH v2 12/12] SPI flash devices: put them into the 'storage' category, Gan Qixin, 2020/11/30
- [PATCH v2 10/12] tosa-ssp: put it into the 'misc' category, Gan Qixin, 2020/11/30
- [PATCH v2 09/12] u2f-passthru: put it into the 'misc' category, Gan Qixin, 2020/11/30