Re: [PATCH] mmc: sdhci-of-aspeed: Fix kunit-related build error

2021-01-22 Thread Ulf Hansson
On Fri, 22 Jan 2021 at 04:23, Andrew Jeffery wrote: > > Randy found that with the following Kconfig settings we have duplicate > definitions (e.g. __inittest()) in sdhci-of-aspeed due to competing > module_init()/module_exit() calls from kunit and driver the itself. > > ``` > CONFIG_MMC_SDHCI_OF_A

Re: [PATCH] mmc: sdhci-of-aspeed: Fix kunit-related build error

2021-01-21 Thread Randy Dunlap
On 1/21/21 7:23 PM, Andrew Jeffery wrote: > Randy found that with the following Kconfig settings we have duplicate > definitions (e.g. __inittest()) in sdhci-of-aspeed due to competing > module_init()/module_exit() calls from kunit and driver the itself. > > ``` > CONFIG_MMC_SDHCI_OF_ASPEED=m > CO

[PATCH] mmc: sdhci-of-aspeed: Fix kunit-related build error

2021-01-21 Thread Andrew Jeffery
Randy found that with the following Kconfig settings we have duplicate definitions (e.g. __inittest()) in sdhci-of-aspeed due to competing module_init()/module_exit() calls from kunit and driver the itself. ``` CONFIG_MMC_SDHCI_OF_ASPEED=m CONFIG_MMC_SDHCI_OF_ASPEED_TEST=y ``` Conditionally open-