mmc: sdhci-pci: Let devices define their own sdhci_ops

Let devices define their own sdhci_ops so that device-specific variations
can be implemented without adding quirks.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Adrian Hunter 2016-10-05 12:11:23 +03:00 committed by Ulf Hansson
parent 606d313124
commit 6bc090631d
2 changed files with 5 additions and 1 deletions

View file

@ -65,6 +65,8 @@ struct sdhci_pci_fixes {
int (*suspend) (struct sdhci_pci_chip *);
int (*resume) (struct sdhci_pci_chip *);
const struct sdhci_ops *ops;
};
struct sdhci_pci_slot {