i2c: versatile: Allow compile test build
authorAxel Lin <axel.lin@ingics.com>
Sat, 9 Jul 2016 05:31:23 +0000 (13:31 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 14 Jul 2016 12:19:55 +0000 (21:19 +0900)
There is no build dependency for this driver, so enable COMPILE_TEST to get
better build coverage.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig

index 4cefc6617892ac95c2cc99ec7e0026aedc5594a1..2f0fd11b8057d44376f1b72d647e4b26a33717d2 100644 (file)
@@ -927,7 +927,7 @@ config I2C_UNIPHIER_F
 
 config I2C_VERSATILE
        tristate "ARM Versatile/Realview I2C bus support"
-       depends on ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS
+       depends on ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS || COMPILE_TEST
        select I2C_ALGOBIT
        help
          Say yes if you want to support the I2C serial bus on ARMs Versatile