i2c: qup: allow COMPILE_TEST
authorWolfram Sang <wsa@kernel.org>
Sat, 12 Feb 2022 19:47:07 +0000 (20:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 18:12:31 +0000 (19:12 +0100)
[ Upstream commit 5de717974005fcad2502281e9f82e139ca91f4bb ]

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

Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/Kconfig

index f76aaf9..fea4034 100644 (file)
@@ -921,7 +921,7 @@ config I2C_QCOM_GENI
 
 config I2C_QUP
        tristate "Qualcomm QUP based I2C controller"
-       depends on ARCH_QCOM
+       depends on ARCH_QCOM || COMPILE_TEST
        help
          If you say yes to this option, support will be included for the
          built-in I2C interface on the Qualcomm SoCs.