Subject: [PATCH 3/9] ARM: omap2/n8x0: work around modular omap mmc

From: [email-masked] (Tony Lindgren)
Date: Fri, 23 Mar 2012 10:29:54 -0700

* mathieu.poirier at linaro.org <[email-masked]> [120323 10:16]:
> From: Russell King <[email-masked]>
> 
> When the omap driver is built as a module for n8x0,
> n8x0_mmc_set_power_menelaus cannot call into the driver:
> 
> arch/arm/mach-omap2/board-n8x0.c:374: undefined reference
> to `omap_mmc_notify_cover_event'
> 
> As a workaround, do not provide that device in this case. This needs
> to be fixed properly, e.g. by converting n8x0 to be probed through the
> device tree and moving that code into the driver.

This too should be fixed now in a way where just the cover events
won't work if compiled as a module.

Regards,

Tony