Commit 82bdce7b94 for qemu.org

commit 82bdce7b9453df2ede67d2b7f01b6e9e4491f408
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date:   Tue Mar 25 23:20:15 2025 +0100

    hw/block/m25p80: Categorize and add description

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

diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index b84c6afb32..0887c103e4 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -1870,7 +1870,9 @@ static void m25p80_class_init(ObjectClass *klass, void *data)
     dc->vmsd = &vmstate_m25p80;
     device_class_set_props(dc, m25p80_properties);
     device_class_set_legacy_reset(dc, m25p80_reset);
+    set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
     mc->pi = data;
+    dc->desc = "Serial Flash";
 }

 static const TypeInfo m25p80_info = {