mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
mmc: Drop mmc_register()
This function is no longer used. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5c0862155c
commit
e98dd20cce
2 changed files with 0 additions and 10 deletions
|
@ -1531,15 +1531,6 @@ static int mmc_send_if_cond(struct mmc *mmc)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not used any more */
|
|
||||||
int __deprecated mmc_register(struct mmc *mmc)
|
|
||||||
{
|
|
||||||
#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
|
|
||||||
printf("%s is deprecated! use mmc_create() instead.\n", __func__);
|
|
||||||
#endif
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_BLK
|
#ifdef CONFIG_BLK
|
||||||
int mmc_bind(struct udevice *dev, struct mmc *mmc, const struct mmc_config *cfg)
|
int mmc_bind(struct udevice *dev, struct mmc *mmc, const struct mmc_config *cfg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -411,7 +411,6 @@ enum mmc_hwpart_conf_mode {
|
||||||
MMC_HWPART_CONF_COMPLETE,
|
MMC_HWPART_CONF_COMPLETE,
|
||||||
};
|
};
|
||||||
|
|
||||||
int mmc_register(struct mmc *mmc);
|
|
||||||
struct mmc *mmc_create(const struct mmc_config *cfg, void *priv);
|
struct mmc *mmc_create(const struct mmc_config *cfg, void *priv);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue