mmc: add missing prototype for mmc_get_env_dev
authorClemens Gruber <clemens.gruber@pqgruber.com>
Tue, 26 Jan 2016 15:20:38 +0000 (16:20 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 1 Feb 2016 22:08:44 +0000 (17:08 -0500)
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>
include/mmc.h

index 465daeb0852a4f1168bb09f2603bea8afec3cd28..d652c1484efdd7892df02cd37ac36ed7eada7c8e 100644 (file)
@@ -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;