i2c: meson: allow build with COMPILE_TEST
diff mbox

Message ID 1467742788-16431-1-git-send-email-ben.dooks@codethink.co.uk
State Superseded
Headers show

Commit Message

Ben Dooks July 5, 2016, 6:19 p.m. UTC
From: Ben Dooks <ben-linux@fluff.org>

This driver could be included in COMPILE_TEST so allow it to be
compiled when COMPILE_TEST is selected.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: linux-amlogic@lists.infradead.org
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-i2c@vger.kernel.org
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Dooks July 5, 2016, 6:24 p.m. UTC | #1
On 05/07/16 19:19, Ben Dooks wrote:
> From: Ben Dooks <ben-linux@fluff.org>
> 

OOPS, forgot to add the person signed-off-by: so have re-sent

Patch
diff mbox

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index efa3d9b..1a6f2de 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -637,7 +637,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.