On Thu, Mar 20, 2008 at 07:44:02PM -0500, Seth Forshee wrote:
> Shouldn't you only register each device if enabled in the corresponding
> configuration, i.e.:
> 
>       if (mmc_conf->mmc[1].enabled)
>               (void) platform_device_register(&mmc_omap_device1);
>       if (mmc_conf->mmc[2].enabled)
>               (void) platform_device_register(&mmc_omap_device2);

Of course that should be 0 and 1, not 1 and 2.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to