From: Anatolij Gustschin Date: Wed, 28 Mar 2012 21:24:32 +0000 (+0000) Subject: drivers/mmc/mmc.c: Fix build warning X-Git-Tag: v2012.04-rc1~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc3faf09d759a8acf8cf2147971e2a19832333e2;p=kernel%2Fu-boot.git 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 Cc: Andy Fleming Cc: Marek Vasut Acked-by: Marek Vasut --- 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