ARM: tegra: ardbeg: Enable sdmmc device reg
Pavan Kunapuli [Thu, 27 Jun 2013 12:21:02 +0000 (17:21 +0530)]
Enabling device registration for all sdmmc instances using
board files.

Bug 1314985

Change-Id: I95e9617146b0124886b28a4d1272fabca3667315
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/242899
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Tested-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

arch/arm/mach-tegra/board-ardbeg-sdhci.c

index 6ce7826..c369588 100644 (file)
@@ -291,11 +291,8 @@ subsys_initcall_sync(ardbeg_wifi_prepower);
 
 int __init ardbeg_sdhci_init(void)
 {
-       /* FIXME: Disabled SDMMC1 and WiFi */
-#ifndef CONFIG_USE_OF
        platform_device_register(&tegra_sdhci_device3);
        platform_device_register(&tegra_sdhci_device2);
-#endif
        platform_device_register(&tegra_sdhci_device0);
        ardbeg_wifi_init();