mirror of https://github.com/xqemu/xqemu.git
pflash_cfi02.c: associate "cfi.pflash02" to "Storage devices" category
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
b196d969ef
commit
df6f93182a
|
@ -744,6 +744,7 @@ static void pflash_cfi02_class_init(ObjectClass *klass, void *data)
|
||||||
|
|
||||||
dc->realize = pflash_cfi02_realize;
|
dc->realize = pflash_cfi02_realize;
|
||||||
dc->props = pflash_cfi02_properties;
|
dc->props = pflash_cfi02_properties;
|
||||||
|
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo pflash_cfi02_info = {
|
static const TypeInfo pflash_cfi02_info = {
|
||||||
|
|
Loading…
Reference in New Issue