Commit c0a1dabd0b for qemu.org

commit c0a1dabd0b5ea8da520957c23ebdb243d955991d
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date:   Tue Mar 25 23:36:52 2025 +0100

    hw/dma/i82374: Categorize and add description

    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Thomas Huth <thuth@redhat.com>
    Message-Id: <20250325224310.8785-5-philmd@linaro.org>

diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c
index 9652d47adc..0bf69ef399 100644
--- a/hw/dma/i82374.c
+++ b/hw/dma/i82374.c
@@ -150,6 +150,8 @@ static void i82374_class_init(ObjectClass *klass, void *data)
     dc->realize = i82374_realize;
     dc->vmsd = &vmstate_i82374;
     device_class_set_props(dc, i82374_properties);
+    dc->desc = "Intel 82374 DMA controller";
+    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
 }

 static const TypeInfo i82374_info = {