diff mbox series

i2c: imx: allow COMPILE_TEST

Message ID 20220212194657.11203-1-wsa@kernel.org
State Accepted
Commit 2ce4462f2724d1b3cedccea441c6d18bb360629a
Headers show
Series i2c: imx: allow COMPILE_TEST | expand

Commit Message

Wolfram Sang Feb. 12, 2022, 7:46 p.m. UTC
Driver builds fine with COMPILE_TEST. Enable it for wider test coverage
and easier maintenance.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Wolfram Sang Feb. 15, 2022, 9:14 a.m. UTC | #1
On Sat, Feb 12, 2022 at 08:46:57PM +0100, Wolfram Sang wrote:
> Driver builds fine with COMPILE_TEST. Enable it for wider test coverage
> and easier maintenance.
> 
> Signed-off-by: Wolfram Sang <wsa@kernel.org>

Applied to for-current, thanks!
diff mbox series

Patch

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index bad2fadc94a3..255fd4198433 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -680,7 +680,7 @@  config I2C_IMG
 
 config I2C_IMX
 	tristate "IMX I2C interface"
-	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
+	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE || COMPILE_TEST
 	select I2C_SLAVE
 	help
 	  Say Y here if you want to use the IIC bus controller on