mmc: core: Move mmc_interrupt_hpi() from core.c to mmc_ops.c
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 8 Jun 2017 13:27:39 +0000 (15:27 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:43 +0000 (10:30 +0200)
commit0f2c05125ef98f062c256c6d150ff372125bf523
tree58063bcba8f7a3d26a4f3081bb1c66256b5e3dc2
parent1cf8f7e5af3910781a21b84f13a34851aa228fe3
mmc: core: Move mmc_interrupt_hpi() from core.c to mmc_ops.c

The mmc_interrupt_hpi() is a eMMC specific function, let's move it to
mmc_ops.c to make that clear. The move also enables us to make
mmc_send_hpi_cmd() static, so let's do that change as well.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/mmc/core/core.c
drivers/mmc/core/mmc_ops.c
drivers/mmc/core/mmc_ops.h