Browse Source

i2c: uniphier: add COMPILE_TEST option

Add COMPILE_TEST for the compilation test coverage.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Masahiro Yamada 9 years ago
parent
commit
61c18aeb05
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/i2c/busses/Kconfig

+ 2 - 2
drivers/i2c/busses/Kconfig

@@ -908,7 +908,7 @@ config I2C_TEGRA
 
 
 config I2C_UNIPHIER
 config I2C_UNIPHIER
 	tristate "UniPhier FIFO-less I2C controller"
 	tristate "UniPhier FIFO-less I2C controller"
-	depends on ARCH_UNIPHIER
+	depends on ARCH_UNIPHIER || COMPILE_TEST
 	help
 	help
 	  If you say yes to this option, support will be included for
 	  If you say yes to this option, support will be included for
 	  the UniPhier FIFO-less I2C interface embedded in PH1-LD4, PH1-sLD8,
 	  the UniPhier FIFO-less I2C interface embedded in PH1-LD4, PH1-sLD8,
@@ -916,7 +916,7 @@ config I2C_UNIPHIER
 
 
 config I2C_UNIPHIER_F
 config I2C_UNIPHIER_F
 	tristate "UniPhier FIFO-builtin I2C controller"
 	tristate "UniPhier FIFO-builtin I2C controller"
-	depends on ARCH_UNIPHIER
+	depends on ARCH_UNIPHIER || COMPILE_TEST
 	help
 	help
 	  If you say yes to this option, support will be included for
 	  If you say yes to this option, support will be included for
 	  the UniPhier FIFO-builtin I2C interface embedded in PH1-Pro4,
 	  the UniPhier FIFO-builtin I2C interface embedded in PH1-Pro4,