hw/sd: Mark sd-card as storage device
PATCH 1/1 hw/sd: Mark sd-card as storage device
sd-card is currently listed as uncategorized device. Mark it as storage device.
Signed-off-by Guenter Roeck <[email protected]>
--- hw/sd/sd.c | 1 + 1 file changed, 1 insertion(+)
hw/sd/sd.c +1 -0
@@ -2121,6 +2121,7 @@ static void sd_class_init(ObjectClass *klass, void *data) dc->vmsd = &sd_vmstate; dc->reset = sd_reset; dc->bus_type =TYPE_SD_BUS ; +set_bit (DEVICE_CATEGORY_STORAGE , dc->categories); sc->set_voltage = sd_set_voltage; sc->get_dat_lines = sd_get_dat_lines;
Signature · 1 line
2.7.4
Quoted 5 lines · Guenter Roeck
sd-card is currently listed as uncategorized device. Mark it as storage device.
Signed-off-by Guenter Roeck <[email protected]>
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 19 lines
--- hw/sd/sd.c | 1 + 1 file changed, 1 insertion(+)hw/sd/sd.c +1
-1@@ -2121,6 +2121,7 @@ static void sd_class_init(ObjectClass *klass, void *data) dc->vmsd = &sd_vmstate; dc->reset = sd_reset; dc->bus_type =TYPE_SD_BUS ; +set_bit (DEVICE_CATEGORY_STORAGE , dc->categories); sc->set_voltage = sd_set_voltage; sc->get_dat_lines = sd_get_dat_lines; --2.7.4
Quoted 8 lines · Philippe Mathieu-Daudé
Quoted 5 lines · Guenter Roeck
sd-card is currently listed as uncategorized device. Mark it as storage device.
Signed-off-by Guenter Roeck <[email protected]>Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Do you send pull requests for the SD card subsystem or who will pick up this patch?
Stefan
Hi Stefan,
Quoted 6 lines · Stefan Hajnoczi
Quoted 5 lines · Philippe Mathieu-Daudé
Quoted 4 lines · Guenter Roeck
sd-card is currently listed as uncategorized device. Mark it as storage device.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Guenter Roeck <[email protected]>Reviewed-by Philippe Mathieu-Daudé <[email protected]>Do you send pull requests for the SD card subsystem or who will pick up this patch?
Usually SD patches go via the ARM tree, this one could go via the Trivial tree too (Cc'ing them).