diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 11:36:15 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | 3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f (patch) | |
tree | d2b388a60f961ec40b4ba25ddfef6503fe679c21 /include/part.h | |
parent | 74001a2570ccbc120366e66dd40e8c66e3a6820c (diff) | |
download | u-boot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.tar.gz u-boot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.tar.bz2 u-boot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.zip |
dm: mmc: Drop the get_dev() function
This function is implemented by the legacy block functions now. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/part.h')
-rw-r--r-- | include/part.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/part.h b/include/part.h index f09b794d61..1535930b90 100644 --- a/include/part.h +++ b/include/part.h @@ -75,7 +75,6 @@ typedef struct disk_partition { struct blk_desc *blk_get_dev(const char *ifname, int dev); struct blk_desc *sata_get_dev(int dev); struct blk_desc *scsi_get_dev(int dev); -struct blk_desc *mmc_get_dev(int dev); /** * mmc_select_hwpart() - Select the MMC hardware partiion on an MMC device @@ -175,7 +174,6 @@ static inline struct blk_desc *blk_get_dev(const char *ifname, int dev) { return NULL; } static inline struct blk_desc *sata_get_dev(int dev) { return NULL; } static inline struct blk_desc *scsi_get_dev(int dev) { return NULL; } -static inline struct blk_desc *mmc_get_dev(int dev) { return NULL; } static inline int mmc_select_hwpart(int dev_num, int hwpart) { return -1; } static inline struct blk_desc *systemace_get_dev(int dev) { return NULL; } static inline struct blk_desc *mg_disk_get_dev(int dev) { return NULL; } |