mmc: sdhci-pci: Conditionally compile pm sleep functions
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 Mar 2017 17:50:50 +0000 (19:50 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:38 +0000 (21:41 +0200)
commitb7813f0fe9535cd9536102b9ac663a669f9be131
tree7cd438564a059d7dd0fba5a6dafeecf6aed9572e
parent1cb0a58ec70402bab49bdb4c5d152e82fd82200e
mmc: sdhci-pci: Conditionally compile pm sleep functions

It is confusing to have some parts of suspend / resume under conditional
compilation and some parts not. Use conditional compilation everywhere.

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>
drivers/mmc/host/sdhci-pci-core.c
drivers/mmc/host/sdhci-pci-o2micro.c
drivers/mmc/host/sdhci-pci.h