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 4cefc66..2f0fd11 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