From: Michał Mirosław Date: Sat, 9 Apr 2011 06:16:47 +0000 (+0200) Subject: mmc: core: mmc_add_card(): fix missing break in switch statement X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9bc21848b1d6cb8389d927196b16c9950b5e21e9;p=linux-beck.git 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 Signed-off-by: Michał Mirosław Signed-off-by: Chris Ball --- 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;