diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-25 23:20:15 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-31 16:33:23 +0200 |
commit | 82bdce7b9453df2ede67d2b7f01b6e9e4491f408 (patch) | |
tree | 50cde8ffcf69a799c7de6065c14a893fad10da3c | |
parent | 581ca58246c1906701680292dfa04af1d129308d (diff) | |
download | qemu-82bdce7b9453df2ede67d2b7f01b6e9e4491f408.zip qemu-82bdce7b9453df2ede67d2b7f01b6e9e4491f408.tar.gz qemu-82bdce7b9453df2ede67d2b7f01b6e9e4491f408.tar.bz2 |
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>
-rw-r--r-- | hw/block/m25p80.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index b84c6af..0887c10 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 = { |