Эх сурвалжийг харах

i2c: meson: allow build with COMPILE_TEST

This driver should be buildable with COMPILE_TEST so
add this to the dependency for it.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Ben Dooks 9 жил өмнө
parent
commit
914017836a

+ 1 - 1
drivers/i2c/busses/Kconfig

@@ -638,7 +638,7 @@ config I2C_LPC2K
 
 
 config I2C_MESON
 config I2C_MESON
 	tristate "Amlogic Meson I2C controller"
 	tristate "Amlogic Meson I2C controller"
-	depends on ARCH_MESON
+	depends on ARCH_MESON || COMPILE_TEST
 	help
 	help
 	  If you say yes to this option, support will be included for the
 	  If you say yes to this option, support will be included for the
 	  I2C interface on the Amlogic Meson family of SoCs.
 	  I2C interface on the Amlogic Meson family of SoCs.