disk: Implement init and get_device functions

This commit is contained in:
Pali Rohár committed 2014-11-18 23:52:14 +01:00
1 parent 5611e8a68c
commit eb23177014
1 file changed
+2 -5
+2 -5
View File
@@ -37,17 +37,14 @@ static char global_buf[1 << 22]; /* 4MB */
int disk_init(struct usb_device_info * dev) {
ERROR("RAW mode is not implemented yet");
(void)dev;
return -1;
return 0;
}
enum device disk_get_device(struct usb_device_info * dev) {
ERROR("Not implemented yet");
(void)dev;
return DEVICE_UNKNOWN;
return dev->device;
}