mmc: mediatek: depend on COMMON_CLK to fix compile tests
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 22 Nov 2020 12:00:56 +0000 (13:00 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Nov 2020 11:36:29 +0000 (12:36 +0100)
commitb61d468d969f74acf704b3ec61c29c46b825e0c5
tree34d0f2e4a4234df09ce58242cb08510da9a8c396
parentd7b819b5d33869d41bdaa427aeb98ae24c57a38b
mmc: mediatek: depend on COMMON_CLK to fix compile tests

The MFD_OMAP_USB_HOST uses Common Clock Framework thus it cannot be
built on platforms without it (e.g. compile test on MIPS with LANTIQ):

    mips-linux-ld: drivers/mmc/host/mtk-sd.o: in function `msdc_ops_set_ios':
    mtk-sd.c:(.text+0x2bbc): undefined reference to `clk_get_parent'

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201122120056.100045-1-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig