summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-14 14:02:55 -0600
committerSimon Glass <sjg@chromium.org>2016-05-26 20:50:29 -0600
commite98dd20ccec30311dddd165f945c7ce0dedef6db (patch)
tree104252efa825cadf84f8d06aee0d0bc54869d0c6 /drivers/mmc
parent5c0862155c883b9e134fae72d25f1b5a93260510 (diff)
downloadblackbird-obmc-uboot-e98dd20ccec30311dddd165f945c7ce0dedef6db.tar.gz
blackbird-obmc-uboot-e98dd20ccec30311dddd165f945c7ce0dedef6db.zip
mmc: Drop mmc_register()
This function is no longer used. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/mmc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 74b3d68f87..1ddeff4ace 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)
{
OpenPOWER on IntegriCloud