When building kernel with kts test layer, COMPILE_TEST is set as y. This causes I2C_IMX_FLEXIO to be enabled because there is default y option in this kernel config. But the depended MFD_IMX_FLEXIO config is not enabled, and causes below building issue: drivers/i2c/busses/i2c-flexio.c:290: undefined reference to `flexio_sw_reset' Therefore, remove default y to avoid building issue. In this way, users also can select proper driver based on specific SoC.
Signed-off-by: Meng Li <[email protected]> --- drivers/i2c/busses/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 06a2f5db1352..567f5199c42a 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -725,7 +725,6 @@ config I2C_IMX_LPI2C config I2C_IMX_FLEXIO tristate "NXP IMX FLEXIO I2C MASTER" depends on (ARCH_MXC && MFD_IMX_FLEXIO) || COMPILE_TEST - default y help If you say yes to this option, support will be included for the I2C controller simulated by flexio embedded in NXP IMX8ULP SOCs. -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12961): https://lists.yoctoproject.org/g/linux-yocto/message/12961 Mute This Topic: https://lists.yoctoproject.org/mt/100660338/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
