aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/mmc-twl4030.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mmc-twl4030.c b/arch/arm/mach-omap2/mmc-twl4030.c
index 437f52073f6e..e1dadf7344a1 100644
--- a/arch/arm/mach-omap2/mmc-twl4030.c
+++ b/arch/arm/mach-omap2/mmc-twl4030.c
@@ -397,6 +397,7 @@ void __init twl4030_mmc_init(struct twl4030_hsmmc_info *controllers)
397 break; 397 break;
398 default: 398 default:
399 pr_err("MMC%d configuration not supported!\n", c->mmc); 399 pr_err("MMC%d configuration not supported!\n", c->mmc);
400 kfree(mmc);
400 continue; 401 continue;
401 } 402 }
402 hsmmc_data[c->mmc - 1] = mmc; 403 hsmmc_data[c->mmc - 1] = mmc;