]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS
authorAndrew Jeffery <andrew@aj.id.au>
Wed, 4 Sep 2019 02:21:20 +0000 (11:51 +0930)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 Sep 2019 13:58:39 +0000 (15:58 +0200)
commit20260fbcf6db77610fc2f748951c408cac35dee3
treec6296871f38e05977a32a7e437f9a4fa7dd49f38
parenta454316fd69896846da58f55efc1b52e1568d7fd
mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS

Resolves the following build error reported by the 0-day bot:

    ERROR: "of_platform_device_create" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined!

SPARC does not set CONFIG_OF_ADDRESS so the symbol is missing. Depend on
CONFIG_OF_ADDRESS to ensure the driver is only built for supported
configurations.

Fixes: 2d28dbe042f4 ("mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig