projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0233fd2
)
mmc: core: Silence compiler warning in __mmc_switch
author
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 28 Oct 2013 01:51:41 +0000
(
02:51
+0100)
committer
lintao
<lintao@rock-chips.com>
Fri, 7 Mar 2014 11:35:56 +0000
(19:35 +0800)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc_ops.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/mmc_ops.c
b/drivers/mmc/core/mmc_ops.c
index aae8d8b45549edca572629b1e9d8f1a4471818dc..e5b5eeb548d17eb08e1f374a83024dc5e4a1170b 100644
(file)
--- a/
drivers/mmc/core/mmc_ops.c
+++ b/
drivers/mmc/core/mmc_ops.c
@@
-414,7
+414,7
@@
int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
int err;
struct mmc_command cmd = {0};
unsigned long timeout;
- u32 status;
+ u32 status
= 0
;
bool ignore_crc = false;
BUG_ON(!card);