Blame view

kernel/linux-imx6_3.14.28/include/linux/mmc/sdhci-pci-data.h 443 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #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);
  
  #endif