mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-01 17:36:03 +01:00
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>
This commit is contained in:
parent
60e242ed24
commit
dc3faf09d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue