]> git.proxmox.com Git - qemu.git/blobdiff - hw/block/pflash_cfi01.c
devices: Associate devices to their logical category
[qemu.git] / hw / block / pflash_cfi01.c
index 29738598ac88fd8d865df1861092887c99323063..825011d8cb09345329bdbb100daea8b17fbff1ec 100644 (file)
@@ -723,6 +723,7 @@ static void pflash_cfi01_class_init(ObjectClass *klass, void *data)
     dc->realize = pflash_cfi01_realize;
     dc->props = pflash_cfi01_properties;
     dc->vmsd = &vmstate_pflash;
+    set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
 }