diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-07-12 21:24:08 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-18 17:53:24 -0400 |
commit | 750121c3506399e758849a4f37c772c3f317045f (patch) | |
tree | d8c8231b7af9fdd5a70bb130a12daf38064fc4cf /include | |
parent | 0b7df656570e9126616529d03d99261956081bc4 (diff) | |
download | u-boot-imx-750121c3506399e758849a4f37c772c3f317045f.zip u-boot-imx-750121c3506399e758849a4f37c772c3f317045f.tar.gz u-boot-imx-750121c3506399e758849a4f37c772c3f317045f.tar.bz2 |
mmc: prevent some warnings with make W=1
Add missing prototypes for global functions and
make local functions static.
cc: panto@antoniou-consulting.com
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include')
-rw-r--r-- | include/mmc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mmc.h b/include/mmc.h index f46572e..7f5f9bc 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -327,10 +327,11 @@ struct mmc *find_mmc_device(int dev_num); int mmc_set_dev(int dev_num); void print_mmc_devices(char separator); int get_mmc_num(void); -int board_mmc_getcd(struct mmc *mmc); int mmc_switch_part(int dev_num, unsigned int part_num); int mmc_getcd(struct mmc *mmc); +int board_mmc_getcd(struct mmc *mmc); int mmc_getwp(struct mmc *mmc); +int board_mmc_getwp(struct mmc *mmc); int mmc_set_dsr(struct mmc *mmc, u16 val); /* Function to change the size of boot partition and rpmb partitions */ int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long bootsize, @@ -385,6 +386,7 @@ int mmc_legacy_init(int verbose); #endif int board_mmc_init(bd_t *bis); +int cpu_mmc_init(bd_t *bis); /* Set block count limit because of 16 bit register limit on some hardware*/ #ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT |