---
v2:
* split into separate patch
---
hw/tpm/tpm_tis.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c
index fd183e8deb..36aaaa8242 100644
--- a/hw/tpm/tpm_tis.c
+++ b/hw/tpm/tpm_tis.c
@@ -1020,6 +1020,9 @@ static void tpm_tis_class_init(ObjectClass *klass, void
*data)
dc->props = tpm_tis_properties;
dc->reset = tpm_tis_reset;
dc->vmsd = &vmstate_tpm_tis;
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
+ dc->desc = "Trusted Platform Module (TPM) TIS Interface";
+
tc->model = TPM_MODEL_TPM_TIS;
tc->get_version = tpm_tis_get_tpm_version;
tc->request_completed = tpm_tis_request_completed;