mmc: meson-mx-sdhc: Fix building with CONFIG_MMC_MESON_MX_SDHC=m
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 18 May 2020 06:08:11 +0000 (08:08 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:22:14 +0000 (11:22 +0200)
commit67c7daec6981d9b15ba85018b20ff8bcc3bcd193
treee7b86a8884228ff92f826ab557bf09d49f3255f8
parentbccce2ec77901c771cd7acd83cb99626ab1edf07
mmc: meson-mx-sdhc: Fix building with CONFIG_MMC_MESON_MX_SDHC=m

For an x86_64 allmodconfig build Stephen reports that building
meson-mx-sdhc-clkc.o warns that MODULE_LICENSE is missing and when
linking meson_mx_sdhc_register_clkc cannot be found.

Compile the MMC controller driver together with the build-in clock
controller driver into one module rather than using two separate
modules to fix these issues.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20200518060811.1499962-1-martin.blumenstingl@googlemail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Makefile
drivers/mmc/host/meson-mx-sdhc-mmc.c [new file with mode: 0644]
drivers/mmc/host/meson-mx-sdhc.c [deleted file]