diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-14 20:02:55 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-27 02:50:29 (GMT) |
commit | e98dd20ccec30311dddd165f945c7ce0dedef6db (patch) | |
tree | 104252efa825cadf84f8d06aee0d0bc54869d0c6 | |
parent | 5c0862155c883b9e134fae72d25f1b5a93260510 (diff) | |
download | u-boot-e98dd20ccec30311dddd165f945c7ce0dedef6db.tar.xz |
mmc: Drop mmc_register()
This function is no longer used.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/mmc/mmc.c | 9 | ||||
-rw-r--r-- | include/mmc.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 74b3d68..1ddeff4 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1531,15 +1531,6 @@ static int mmc_send_if_cond(struct mmc *mmc) 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 int mmc_bind(struct udevice *dev, struct mmc *mmc, const struct mmc_config *cfg) { diff --git a/include/mmc.h b/include/mmc.h index a5c6573..056296e 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -411,7 +411,6 @@ enum mmc_hwpart_conf_mode { MMC_HWPART_CONF_COMPLETE, }; -int mmc_register(struct mmc *mmc); struct mmc *mmc_create(const struct mmc_config *cfg, void *priv); /** |