blob: fda15b6d4135d387549e1ed628ca1285b399abb0 [file] [log] [blame]
Adrian Hunter52c506f2011-12-27 15:48:43 +02001#ifndef LINUX_MMC_SDHCI_PCI_DATA_H
2#define LINUX_MMC_SDHCI_PCI_DATA_H
3
4struct pci_dev;
5
6struct sdhci_pci_data {
7 struct pci_dev *pdev;
8 int slotno;
9 int rst_n_gpio; /* Set to -EINVAL if unused */
10 int cd_gpio; /* Set to -EINVAL if unused */
11 int (*setup)(struct sdhci_pci_data *data);
12 void (*cleanup)(struct sdhci_pci_data *data);
13};
14
15extern struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev,
16 int slotno);
17
Adrian Huntere1bfad62015-02-06 14:13:00 +020018extern int sdhci_pci_spt_drive_strength;
19
Adrian Hunter52c506f2011-12-27 15:48:43 +020020#endif