summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-03-28 21:24:32 +0000
committerWolfgang Denk <wd@denx.de>2012-03-30 22:14:15 +0200
commitdc3faf09d759a8acf8cf2147971e2a19832333e2 (patch)
treeea44356fdd99ab701d6dfda24d78d021f6e243ef /drivers
parent60e242ed245642f73fc59a3ec39c676910513bbd (diff)
downloadu-boot-imx-dc3faf09d759a8acf8cf2147971e2a19832333e2.zip
u-boot-imx-dc3faf09d759a8acf8cf2147971e2a19832333e2.tar.gz
u-boot-imx-dc3faf09d759a8acf8cf2147971e2a19832333e2.tar.bz2
drivers/mmc/mmc.c: Fix build warning
Fix: mmc.c: In function 'mmc_bounce_buffer_start': mmc.c:132:13: warning: no return statement in function returning non-void [-Wreturn-type] Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Andy Fleming <afleming@gmail.com> Cc: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 74e5fea..e70fa9f 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -129,7 +129,7 @@ static void mmc_bounce_buffer_stop(struct mmc_data *backup,
}
#else
static inline int mmc_bounce_buffer_start(struct mmc_data *backup,
- struct mmc_data *orig) { }
+ struct mmc_data *orig) { return 0; }
static inline void mmc_bounce_buffer_stop(struct mmc_data *backup,
struct mmc_data *orig) { }
#endif