linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: img-scb: Allow building for MIPS
@ 2014-11-18 23:58 Andrew Bresticker
  2014-11-19  0:03 ` James Hogan
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Bresticker @ 2014-11-18 23:58 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Ezequiel Garcia, James Hogan, James Hartley, linux-i2c,
	linux-kernel, Andrew Bresticker

The SCB is present on IMG SoCs other than the META-based TZ1090,
such as the MIPS-based Pistachio SoC.  Relax the Kconfig dependency
so that it can be built on any MIPS or META machine.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
---
Based on i2c/for-next
---
 drivers/i2c/busses/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 03c6119..16c649a 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -526,10 +526,10 @@ config I2C_IBM_IIC
 
 config I2C_IMG
 	tristate "Imagination Technologies I2C SCB Controller"
-	depends on SOC_TZ1090 || COMPILE_TEST
+	depends on MIPS || METAG || COMPILE_TEST
 	help
 	  Say Y here if you want to use the IMG I2C SCB controller,
-	  available on the TZ1090 SoC.
+	  available on the TZ1090 and other IMG SoCs.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-img-scb.
-- 
2.1.0.rc2.206.gedb03e5


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

end of thread, other threads:[~2014-11-20 10:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-18 23:58 [PATCH] i2c: img-scb: Allow building for MIPS Andrew Bresticker
2014-11-19  0:03 ` James Hogan
2014-11-19  9:07   ` Wolfram Sang
2014-11-20 10:18     ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).