projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dcc281
)
mmc: Add mmc_dev()
author
Sean Anderson
<seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:45 +0000
(10:44 -0400)
committer
Tom Rini
<trini@konsulko.com>
Wed, 30 Sep 2020 12:52:46 +0000
(08:52 -0400)
This macro is necessary for arasan_zynqmp_dll_reset to compile.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
include/mmc.h
patch
|
blob
|
history
diff --git
a/include/mmc.h
b/include/mmc.h
index 82562193cc489cdfecab3136ef42f9123d041af3..75bcaaf6b3550d28ac8b979fdd1b6ac67d08c801 100644
(file)
--- a/
include/mmc.h
+++ b/
include/mmc.h
@@
-888,6
+888,8
@@
void mmc_set_preinit(struct mmc *mmc, int preinit);
#define mmc_host_is_spi(mmc) 0
#endif
+#define mmc_dev(x) ((x)->dev)
+
void board_mmc_power_init(void);
int board_mmc_init(struct bd_info *bis);
int cpu_mmc_init(struct bd_info *bis);