mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
mmc: Add mmc_dev()
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user