mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-02 10:43:57 +08:00
79ea73b05a
The function was removed half a year ago, so this declaration can go,
too.
Fixes: 51ced59cc0
("mmc: sdhci-pci: Use ACPI DSM to get driver strength for some Intel devices")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
18 lines
442 B
C
18 lines
442 B
C
#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
|