mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
581ca58246
commit
82bdce7b94
1 changed files with 2 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue