2011-12-27 21:48:43 +08:00
|
|
|
#ifndef LINUX_MMC_SDHCI_PCI_DATA_H
|
|
|
|
#define LINUX_MMC_SDHCI_PCI_DATA_H
|
|
|
|
|
|
|
|
struct pci_dev;
|
|
|
|
|
|
|
|
struct sdhci_pci_data {
|
|
|
|
struct pci_dev *pdev;
|
|
|
|
int slotno;
|
|
|
|
int rst_n_gpio; /* Set to -EINVAL if unused */
|
|
|
|
int cd_gpio; /* Set to -EINVAL if unused */
|
|
|
|
int (*setup)(struct sdhci_pci_data *data);
|
|
|
|
void (*cleanup)(struct sdhci_pci_data *data);
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev,
|
|
|
|
int slotno);
|
|
|
|
|
2015-02-06 20:13:00 +08:00
|
|
|
extern int sdhci_pci_spt_drive_strength;
|
|
|
|
|
2011-12-27 21:48:43 +08:00
|
|
|
#endif
|