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

Tony Lindgren tony at atomide.com
Fri Mar 23 13:29:54 EDT 2012


* mathieu.poirier at linaro.org <mathieu.poirier at linaro.org> [120323 10:16]:
> From: Russell King <linux at arm.linux.org.uk>
> 
> 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



More information about the linux-arm-kernel mailing list