]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d11a57e92a6b762cef247a73effed3a74eabb6e
treee7b86a8884228ff92f826ab557bf09d49f3255f8
parentb467a44d6c5a817b8c55db907d1050a85f95ffc6
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]