From: Clemens Gruber <clemens.gruber@pqgruber.com>
Date: Tue, 26 Jan 2016 15:20:38 +0000 (+0100)
Subject: mmc: add missing prototype for mmc_get_env_dev
X-Git-Tag: v2025.01-rc5-pxa1908~10411
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=aa844fe106bfe7bf8f345822607346f6035af343;p=u-boot.git

mmc: add missing prototype for mmc_get_env_dev

This is a follow-up patch to e92029c0f4 and adds a prototype for
the weak mmc_get_env_dev function.

Cc: Tom Rini <trini@konsulko.com>
Cc: Stephen Warren <swarren@nvidia.com>

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
---

diff --git a/include/mmc.h b/include/mmc.h
index 465daeb085..d652c1484e 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -479,6 +479,7 @@ void board_mmc_power_init(void);
 int board_mmc_init(bd_t *bis);
 int cpu_mmc_init(bd_t *bis);
 int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
+int mmc_get_env_dev(void);
 
 struct pci_device_id;