]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: Let runtime PM callbacks be available for CONFIG_PM
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 22 Jan 2014 23:38:00 +0000 (00:38 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 12 May 2014 10:52:34 +0000 (12:52 +0200)
commit9ad5fd84370016f74b6de3561bf8d85ed42cf97a
treef1bc23d2923c2ef9c3de927368bb4266ea61acba
parentefd899dc5997b63005a0aa1e2185ccabd568d340
mmc: mmci: Let runtime PM callbacks be available for CONFIG_PM

Convert to the SET_PM_RUNTIME_PM macro while defining the runtime PM
callbacks. This means the callbacks becomes available for both
CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME, which is needed to handle the
combinations of these scenarios.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c