mirror of
https://github.com/torvalds/linux.git
synced 2026-06-11 08:03:05 +02:00
[ARM] tegra: stingray: Specify nonexistant gpio for sdhci
The tegra sdhci driver has been changed to use -1 for "no gpio", because 0 is a valid gpio number. Change-Id: I906318d8d121019d33b98d1917e54dac90f747c1 Signed-off-by: Colin Cross <ccross@android.com>
This commit is contained in:
parent
5d7fbed838
commit
c28258f550
|
|
@ -134,7 +134,10 @@ struct tegra_sdhci_platform_data stingray_wifi_data = {
|
|||
.status = stingray_wifi_status,
|
||||
.register_status_notify = stingray_wifi_status_register,
|
||||
.embedded_sdio = &stingray_wifi_emb_data,
|
||||
}
|
||||
},
|
||||
.cd_gpio = -1,
|
||||
.wp_gpio = -1,
|
||||
.power_gpio = -1,
|
||||
};
|
||||
|
||||
static int stingray_wifi_set_carddetect(int val)
|
||||
|
|
|
|||
|
|
@ -390,6 +390,9 @@ 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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user