]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: core: mmc_add_card(): fix missing break in switch statement
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 9 Apr 2011 06:16:47 +0000 (08:16 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 27 Apr 2011 23:15:07 +0000 (19:15 -0400)
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>
drivers/mmc/core/bus.c

index 63667a8f140c458722c54b33b3e91d54e4cca029..d6d62fd07ee9fd0b492d6c7e0a80d116840009b2 100644 (file)
@@ -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;