[ARM] tegra: stingray: remove SD/MMC host sdhci-tegra.2 (aka SDIO3)
authorTodd Poynor <toddpoynor@google.com>
Wed, 22 Sep 2010 00:57:53 +0000 (17:57 -0700)
committerColin Cross <ccross@android.com>
Thu, 7 Oct 2010 00:01:21 +0000 (17:01 -0700)
SD/MMC host #3 not connected on Stingray.  Remove platform device so
sdhci driver won't enable clock sdmmc3.

Change-Id: Id3cd38f60069ad53ca7c354620c64350d32ff98a
Signed-off-by: Todd Poynor <toddpoynor@google.com>
arch/arm/mach-tegra/board-stingray.c

index 45b0d349c64226998d6c4f50754b9b6d7cf2c273..c788e4ecb8940dce80219d131b1e276559bfa81a 100644 (file)
@@ -632,14 +632,6 @@ static struct platform_device *stingray_devices[] __initdata = {
 
 extern struct tegra_sdhci_platform_data stingray_wifi_data; /* sdhci2 */
 
-static struct tegra_sdhci_platform_data stingray_sdhci_platform_data3 = {
-       .clk_id = NULL,
-       .force_hs = 0,
-       .cd_gpio = -1,
-       .wp_gpio = -1,
-       .power_gpio = -1,
-};
-
 static struct tegra_sdhci_platform_data stingray_sdhci_platform_data4 = {
        .clk_id = NULL,
        .force_hs = 0,
@@ -704,11 +696,9 @@ static void stingray_sdhci_init(void)
 {
        /* TODO: setup GPIOs for cd, wd, and power */
        tegra_sdhci_device2.dev.platform_data = &stingray_wifi_data;
-       tegra_sdhci_device3.dev.platform_data = &stingray_sdhci_platform_data3;
        tegra_sdhci_device4.dev.platform_data = &stingray_sdhci_platform_data4;
 
        platform_device_register(&tegra_sdhci_device2);
-       platform_device_register(&tegra_sdhci_device3);
        platform_device_register(&tegra_sdhci_device4);
 }
 #define ATAG_BDADDR 0x43294329 /* stingray bluetooth address tag */