mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user