diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-09 08:16:47 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-04-27 19:15:07 -0400 |
commit | 9bc21848b1d6cb8389d927196b16c9950b5e21e9 (patch) | |
tree | 716ae429f0ed55f89f874b004c4ad06239e61bd2 | |
parent | 9fdcdbb0d84922e7ccda2f717a04ea62629f7e18 (diff) | |
download | linux-9bc21848b1d6cb8389d927196b16c9950b5e21e9.tar.gz linux-9bc21848b1d6cb8389d927196b16c9950b5e21e9.tar.bz2 linux-9bc21848b1d6cb8389d927196b16c9950b5e21e9.zip |
mmc: core: mmc_add_card(): fix missing break in switch statement
Fixes a cosmetic bug that affects printk() for SD-combo cards.
Reported-by: Prashanth Bhat <prashanth.bhat@manipal.net>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/core/bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c index 63667a8f140c..d6d62fd07ee9 100644 --- a/drivers/mmc/core/bus.c +++ b/drivers/mmc/core/bus.c @@ -284,6 +284,7 @@ int mmc_add_card(struct mmc_card *card) type = "SD-combo"; if (mmc_card_blockaddr(card)) type = "SDHC-combo"; + break; default: type = "?"; break; |