i2c: meson: allow build with COMPILE_TEST
authorBen Dooks <ben-linux@fluff.org>
Wed, 6 Jul 2016 20:17:05 +0000 (21:17 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 8 Jul 2016 01:33:30 +0000 (10:33 +0900)
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>
drivers/i2c/busses/Kconfig

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