diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_mass_storage.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/usb_mass_storage.h b/include/usb_mass_storage.h index 69b80cd1a3..5804b70c35 100644 --- a/include/usb_mass_storage.h +++ b/include/usb_mass_storage.h @@ -23,12 +23,10 @@ struct ums { unsigned int start_sector; unsigned int num_sectors; const char *name; - block_dev_desc_t *block_dev; + block_dev_desc_t block_dev; }; -extern struct ums *ums; - -int fsg_init(struct ums *); +int fsg_init(struct ums *ums_devs, int count); void fsg_cleanup(void); int fsg_main_thread(void *); int fsg_add(struct usb_configuration *c); |