* Seth Forshee <seth.forshee@xxxxxxxxx> [080324 04:12]: > 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. This sounds like a valid comment to me, so not pushing. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html