projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e242e
)
drivers/mmc/mmc.c: Fix build warning
author
Anatolij Gustschin
<
[email protected]
>
Wed, 28 Mar 2012 21:24:32 +0000
(21:24 +0000)
committer
Wolfgang Denk
<
[email protected]
>
Fri, 30 Mar 2012 20:14:15 +0000
(22:14 +0200)
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 <
[email protected]
>
Cc: Andy Fleming <
[email protected]
>
Cc: Marek Vasut <
[email protected]
>
Acked-by: Marek Vasut <
[email protected]
>
drivers/mmc/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index 74e5fea6671e98081f24594e65646735b7773ee9..e70fa9f8dcc2bb591d536bb3811a2334723b39cb 100644
(file)
--- 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