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

2021-01-26 Thread Ulf Hansson
On Fri, 22 Jan 2021 at 12:49, 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 v2] mmc: sdhci-of-aspeed: Fix kunit-related build error

2021-01-22 Thread Randy Dunlap
On 1/22/21 3:48 AM, 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 v2] mmc: sdhci-of-aspeed: Fix kunit-related build error

2021-01-22 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-