projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
448f11f
)
dm: mmc: remove unused U_BOOT_DRIVER(mmc)
author
Andy Yan
<andyshrk@gmail.com>
Fri, 31 May 2019 07:44:39 +0000
(15:44 +0800)
committer
Peng Fan
<peng.fan@nxp.com>
Thu, 5 Sep 2019 07:27:31 +0000
(15:27 +0800)
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>
drivers/mmc/mmc-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc-uclass.c
b/drivers/mmc/mmc-uclass.c
index
2b146ea
..
4a12324
100644
(file)
--- a/
drivers/mmc/mmc-uclass.c
+++ b/
drivers/mmc/mmc-uclass.c
@@
-427,10
+427,6
@@
U_BOOT_DRIVER(mmc_blk) = {
};
#endif /* CONFIG_BLK */
};
#endif /* CONFIG_BLK */
-U_BOOT_DRIVER(mmc) = {
- .name = "mmc",
- .id = UCLASS_MMC,
-};
UCLASS_DRIVER(mmc) = {
.id = UCLASS_MMC,
UCLASS_DRIVER(mmc) = {
.id = UCLASS_MMC,