Re: [PATCH 1/1] PLAT: OMAP: Add device configuration to support second HSMMC slot on OMAP 2430 and 3430 boards.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux