]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
i2c: cadence: allow COMPILE_TEST
authorWolfram Sang <wsa@kernel.org>
Sat, 12 Feb 2022 19:45:48 +0000 (20:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 18:14:03 +0000 (19:14 +0100)
[ Upstream commit 0b0dcb3882c8f08bdeafa03adb4487e104d26050 ]

Driver builds fine with COMPILE_TEST. Enable it for wider test coverage
and easier maintenance.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/Kconfig

index dce3928390176470e3b47c7b67e377b43eb158eb..b1c20859fe8c9be455c6a253066679df815b9ad6 100644 (file)
@@ -488,7 +488,7 @@ config I2C_BRCMSTB
 
 config I2C_CADENCE
        tristate "Cadence I2C Controller"
-       depends on ARCH_ZYNQ || ARM64 || XTENSA
+       depends on ARCH_ZYNQ || ARM64 || XTENSA || COMPILE_TEST
        help
          Say yes here to select Cadence I2C Host Controller. This controller is
          e.g. used by Xilinx Zynq.