mmc: core: Make mmc_switch_status() available for mmc core
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 19 Oct 2016 09:04:42 +0000 (11:04 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:33 +0000 (09:00 +0100)
commit20348d1981da783d125c8265ce2ba7e3f2a24103
treeb8db549e1fd15836d11c8aee8cc389746f71c9f3
parent67e6db113c903f2b8af924400b7b43ade4b9ac5c
mmc: core: Make mmc_switch_status() available for mmc core

Following changes needs mmc_switch_status() to be available both from mmc.c
and mmc_ops.c. Allow that by moving its implementation to mmc_ops.c and
make it available via mmc_ops.h.

Moving mmc_switch_status() to mmc_ops.c, also enables us to turn
mmc_switch_status_error() into static function. So let's take the
opportunity to change this as well.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/core/mmc.c
drivers/mmc/core/mmc_ops.c
drivers/mmc/core/mmc_ops.h