mmc: mmci: Share sdmmc_variant_init() via the common header file
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 6 Mar 2019 14:04:55 +0000 (15:04 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commit62e546be6d9320773f5162c0a4a627392efdb6ea
tree8d64d3dcdb890250660f5da4fd10e890652e73bd
parentf7f3e7dac802e4ed11f216027fc35c189c3dba7f
mmc: mmci: Share sdmmc_variant_init() via the common header file

It's good practice to share functions via header files, rather than from
the c-files. Therefore, let's move sdmmc_variant_init() to mmci.h.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Ludovic Barre <ludovic.barre@st.com>
Tested-by: Ludovic Barre <ludovic.barre@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h