scsi: mptsas: Mark as storage device
mptsas1068 is currently listed as uncategorized device. Mark it as storage device. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Message-Id: <1533076133-22745-1-git-send-email-linux@roeck-us.net> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
06d09a018f
commit
a736d719e7
|
@ -1431,6 +1431,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void *data)
|
||||||
dc->reset = mptsas_reset;
|
dc->reset = mptsas_reset;
|
||||||
dc->vmsd = &vmstate_mptsas;
|
dc->vmsd = &vmstate_mptsas;
|
||||||
dc->desc = "LSI SAS 1068";
|
dc->desc = "LSI SAS 1068";
|
||||||
|
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo mptsas_info = {
|
static const TypeInfo mptsas_info = {
|
||||||
|
|
Loading…
Reference in a new issue