[PATCHv2] i2c: meson: allow build with COMPILE_TEST
diff mbox

Message ID 1467743043-18703-1-git-send-email-ben.dooks@codethink.co.uk
State Accepted
Headers show

Commit Message

Ben Dooks July 5, 2016, 6:24 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-linux@fluff.org>
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

Wolfram Sang July 6, 2016, 12:09 a.m. UTC | #1
On Tue, Jul 05, 2016 at 07:24:03PM +0100, Ben Dooks wrote:
> 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-linux@fluff.org>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>

Two signed-offs by you?
Ben Dooks July 6, 2016, 7:33 a.m. UTC | #2
On 06/07/16 01:09, Wolfram Sang wrote:
> On Tue, Jul 05, 2016 at 07:24:03PM +0100, Ben Dooks wrote:
>> 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-linux@fluff.org>
>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> 
> Two signed-offs by you?

two different emails, got a patch written at home left in my work
tree so used both emails.
Wolfram Sang July 6, 2016, 8:13 a.m. UTC | #3
> >> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
> >> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> > 
> > Two signed-offs by you?
> 
> two different emails, got a patch written at home left in my work
> tree so used both emails.

Please pick one so we know what you think if copyright belongs to you or
your employer.
Ben Dooks July 6, 2016, 8:12 p.m. UTC | #4
On Wed, Jul 06, 2016 at 05:13:41PM +0900, Wolfram Sang wrote:
> 
> > >> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
> > >> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> > > 
> > > Two signed-offs by you?
> > 
> > two different emails, got a patch written at home left in my work
> > tree so used both emails.
> 
> Please pick one so we know what you think if copyright belongs to you or
> your employer.

I thought I was being correct by having the From: matching the first
SoB, and the second being from the account I was sending it from

I will re-send from my personal laptop.

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.