All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: jz4780: Drop dependency on MACH_JZ4780
@ 2019-05-22 17:05 Paul Cercueil
  2019-05-27 19:39 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2019-05-22 17:05 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: od, linux-i2c, linux-kernel, Paul Cercueil

Depending on MACH_JZ4780 prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 26186439db6b..bfb1d05248dc 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -691,7 +691,7 @@ config I2C_IOP3XX
 
 config I2C_JZ4780
 	tristate "JZ4780 I2C controller interface support"
-	depends on MACH_JZ4780 || COMPILE_TEST
+	depends on MIPS || COMPILE_TEST
 	help
 	 If you say yes to this option, support will be included for the
 	 Ingenic JZ4780 I2C controller.
-- 
2.21.0.593.g511ec345e18


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c: jz4780: Drop dependency on MACH_JZ4780
  2019-05-22 17:05 [PATCH] i2c: jz4780: Drop dependency on MACH_JZ4780 Paul Cercueil
@ 2019-05-27 19:39 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2019-05-27 19:39 UTC (permalink / raw)
  To: Paul Cercueil; +Cc: od, linux-i2c, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

On Wed, May 22, 2019 at 07:05:16PM +0200, Paul Cercueil wrote:
> Depending on MACH_JZ4780 prevent us from creating a generic kernel that
> works on more than one MIPS board. Instead, we just depend on MIPS being
> set.
> 
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Applied to for-next, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-27 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22 17:05 [PATCH] i2c: jz4780: Drop dependency on MACH_JZ4780 Paul Cercueil
2019-05-27 19:39 ` Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.