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)
commit571dce4f105cf2b8e57ec4330da71bd0cb6d38bb
treef1bc23d2923c2ef9c3de927368bb4266ea61acba
parent42dcc89a914722635814ae405cfdacfeccad82d1
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