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

From: Tony Lindgren
Date: Fri Mar 23 2012 - 13:29:53 EST


* mathieu.poirier@xxxxxxxxxx <mathieu.poirier@xxxxxxxxxx> [120323 10:16]:
> From: Russell King <linux@xxxxxxxxxxxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/