]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Move sdhci_runtime_pm_bus_off|on() to avoid pre-definition
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Apr 2016 13:32:41 +0000 (15:32 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:25 +0000 (10:33 +0200)
commit3f5eb237fd8d639488f38617bbfbe64a5ffe4b5d
tree852bc6ed7d1e7ff10f7b52bba96ac713b3ea5e4b
parent560bf8e30d6132a0f355a79f7f99f50da69f579d
mmc: sdhci: Move sdhci_runtime_pm_bus_off|on() to avoid pre-definition

There are no need to have two versions of sdhci_runtime_pm_bus_off|on(),
depending on whether CONFIG_PM is set or unset. Thus it's easy to move the
implementation of these functions a bit earlier to avoid the unnecessary
pre-definition of them, so let's do that.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
drivers/mmc/host/sdhci.c