diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-28 16:15:06 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-28 16:15:06 -0800 |
commit | 824e2dbb29eedb4afde9cb592a912f56038a5d1e (patch) | |
tree | 16831eceadb66c7fc661e387f81fc65c93742c1e /arch/arm/mach-omap2/board-n8x0.c | |
parent | e9d69010996539b07caef1c9fa9a481e1df95e68 (diff) | |
parent | 9cf793f9b8b1ba9414e2a7591b2e911885f85a27 (diff) |
Merge branch 'hsmmc' into fixes-non-critical
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 42a4d11fad2..67226271760 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c @@ -371,7 +371,11 @@ static void n8x0_mmc_callback(void *data, u8 card_mask) else *openp = 0; +#ifdef CONFIG_MMC_OMAP omap_mmc_notify_cover_event(mmc_device, index, *openp); +#else + pr_warn("MMC: notify cover event not available\n"); +#endif } static int n8x0_mmc_late_init(struct device *dev) |