ALSA: fix hda AZX_DCAPS_NO_TCSEL quirk check in driver_caps
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / mmc / sdhci-spear.h
blob9188c973f3e17d2d504feabc9c2a2493b2199260
1 /*
2 * include/linux/mmc/sdhci-spear.h
4 * SDHCI declarations specific to ST SPEAr platform
6 * Copyright (C) 2010 ST Microelectronics
7 * Viresh Kumar<viresh.kumar@st.com>
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
14 #ifndef MMC_SDHCI_SPEAR_H
15 #define MMC_SDHCI_SPEAR_H
17 #include <linux/platform_device.h>
19 * struct sdhci_plat_data: spear sdhci platform data structure
21 * @card_power_gpio: gpio pin for enabling/disabling power to sdhci socket
22 * @power_active_high: if set, enable power to sdhci socket by setting
23 * card_power_gpio
24 * @power_always_enb: If set, then enable power on probe, otherwise enable only
25 * on card insertion and disable on card removal.
26 * card_int_gpio: gpio pin used for card detection
28 struct sdhci_plat_data {
29 int card_power_gpio;
30 int power_active_high;
31 int power_always_enb;
32 int card_int_gpio;
35 /* This function is used to set platform_data field of pdev->dev */
36 static inline void
37 sdhci_set_plat_data(struct platform_device *pdev, struct sdhci_plat_data *data)
39 pdev->dev.platform_data = data;
42 #endif /* MMC_SDHCI_SPEAR_H */