diff mbox

[v2] i2c: meson: allow build with COMPILE_TEST

Message ID 1467836225-2427-1-git-send-email-ben-linux@fluff.org (mailing list archive)
State Changes Requested
Headers show

Commit Message

Ben Dooks July 6, 2016, 8:17 p.m. UTC
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>
---
V2:
- reduced to just personal signnoff.
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Dooks July 7, 2016, 8:05 a.m. UTC | #1
On 06/07/16 21:17, Ben Dooks wrote:
> 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>
> ---
> V2:
> - reduced to just personal signnoff.

the first one was better :(
Wolfram Sang July 8, 2016, 1:39 a.m. UTC | #2
On Wed, Jul 06, 2016 at 09:17:05PM +0100, Ben Dooks wrote:
> 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>

Care to explain why the first one was better? A bit confused here...
diff mbox

Patch

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.