diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2017-03-20 19:50:52 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 21:41:39 +0200 |
commit | 966d696a622b47663ae866df08d54a4a1d3ec39c (patch) | |
tree | 9b24a659669dfc6d85972f350d6d95205c8cf428 /drivers/mmc/host/sdhci-pci.h | |
parent | 30cf2803b268f2bcce91fbaa19cee6d04b14bd86 (diff) | |
download | linux-966d696a622b47663ae866df08d54a4a1d3ec39c.tar.bz2 |
mmc: sdhci-pci: Add runtime suspend/resume callbacks
Add runtime suspend/resume callbacks to match suspend/resume callbacks.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.h')
-rw-r--r-- | drivers/mmc/host/sdhci-pci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h index ec8f91c403d6..37766d20a600 100644 --- a/drivers/mmc/host/sdhci-pci.h +++ b/drivers/mmc/host/sdhci-pci.h @@ -71,6 +71,10 @@ struct sdhci_pci_fixes { int (*suspend) (struct sdhci_pci_chip *); int (*resume) (struct sdhci_pci_chip *); #endif +#ifdef CONFIG_PM + int (*runtime_suspend) (struct sdhci_pci_chip *); + int (*runtime_resume) (struct sdhci_pci_chip *); +#endif const struct sdhci_ops *ops; size_t priv_size; |