aboutsummaryrefslogtreecommitdiff
path: root/include/usb_mass_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_mass_storage.h')
-rw-r--r--include/usb_mass_storage.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/usb_mass_storage.h b/include/usb_mass_storage.h
index 674ca70c59a..9df3adcf2a8 100644
--- a/include/usb_mass_storage.h
+++ b/include/usb_mass_storage.h
@@ -25,12 +25,10 @@ struct ums {
ulong start, lbaint_t blkcnt, void *buf);
int (*write_sector)(struct ums *ums_dev,
ulong start, lbaint_t blkcnt, const void *buf);
- void (*get_capacity)(struct ums *ums_dev,
- long long int *capacity);
+ unsigned int start_sector;
+ unsigned int num_sectors;
const char *name;
struct mmc *mmc;
- int offset;
- int part_size;
};
extern struct ums *ums;