Skip to content
Snippets Groups Projects
Commit 84aab60c authored by Gan Qixin's avatar Gan Qixin Committed by Thomas Huth
Browse files

nand: put it into the 'storage' category


The category of the nand device is not set, put it into the 'storage'
category.

Signed-off-by: default avatarGan Qixin <ganqixin@huawei.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201112125824.763182-4-ganqixin@huawei.com>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent be3701ea
No related branches found
No related tags found
No related merge requests found
......@@ -449,6 +449,7 @@ static void nand_class_init(ObjectClass *klass, void *data)
dc->reset = nand_reset;
dc->vmsd = &vmstate_nand;
device_class_set_props(dc, nand_properties);
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
}
static const TypeInfo nand_info = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment