summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc-uclass.c
diff options
context:
space:
mode:
authorAndy Yan <andyshrk@gmail.com>2019-05-31 15:44:39 +0800
committerPeng Fan <peng.fan@nxp.com>2019-09-05 15:27:31 +0800
commit701a51e1ef6c727e7a4b5a48b8681f42a447072b (patch)
tree330700907aef6c6b0c3e952af93364bceb21d399 /drivers/mmc/mmc-uclass.c
parent448f11f7503995746a7b71e5e3b3a831c4651be9 (diff)
dm: mmc: remove unused U_BOOT_DRIVER(mmc)
When look through the code, I found this bare metal drives is not used, so remove it. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/mmc-uclass.c')
-rw-r--r--drivers/mmc/mmc-uclass.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
index 2b146ea43c..4a12324c6a 100644
--- a/drivers/mmc/mmc-uclass.c
+++ b/drivers/mmc/mmc-uclass.c
@@ -427,10 +427,6 @@ U_BOOT_DRIVER(mmc_blk) = {
};
#endif /* CONFIG_BLK */
-U_BOOT_DRIVER(mmc) = {
- .name = "mmc",
- .id = UCLASS_MMC,
-};
UCLASS_DRIVER(mmc) = {
.id = UCLASS_MMC,