aboutsummaryrefslogtreecommitdiff
path: root/include/usb_mass_storage.h
diff options
context:
space:
mode:
authorStephen Warren2014-05-05 10:40:11 -0600
committerLukasz Majewski2014-05-08 10:38:29 +0200
commitce19d974018273c8f69d98b7139e7fef822cc02a (patch)
treeba4a4364da023b2105853126bdc3718e138b7cb1 /include/usb_mass_storage.h
parent66b88b07cdab041ac0cf6a9bf5b131aedc248089 (diff)
ums: support block devices not MMC devices
The USB Mass Storage function could equally well support a SATA device as support an MMC device. Update struct ums to contain a block device descriptor, not an MMC device descriptor. Cc: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Diffstat (limited to 'include/usb_mass_storage.h')
-rw-r--r--include/usb_mass_storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usb_mass_storage.h b/include/usb_mass_storage.h
index ed460644c1f..e3eb1ebb2e4 100644
--- a/include/usb_mass_storage.h
+++ b/include/usb_mass_storage.h
@@ -9,7 +9,7 @@
#define __USB_MASS_STORAGE_H__
#define SECTOR_SIZE 0x200
-#include <mmc.h>
+#include <part.h>
#include <linux/usb/composite.h>
#ifndef UMS_START_SECTOR
@@ -31,7 +31,7 @@ struct ums {
unsigned int start_sector;
unsigned int num_sectors;
const char *name;
- struct mmc *mmc;
+ block_dev_desc_t *block_dev;
};
extern struct ums *ums;