All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: hix5hd2: add COMPILE_TEST
@ 2015-01-31  9:28 ` Zhangfei Gao
  0 siblings, 0 replies; 4+ messages in thread
From: Zhangfei Gao @ 2015-01-31  9:28 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA, Zhangfei Gao

Commit 9439eb3ab9d1ec ("asm-generic: io: implement relaxed
accessor macros as conditional wrappers") has added
{read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h.
So COMPILE_TEST can be added.

Signed-off-by: Zhangfei Gao <zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 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 31e8308ba899..ddf486389dc4 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -79,7 +79,7 @@ config I2C_AMD8111
 
 config I2C_HIX5HD2
 	tristate "Hix5hd2 high-speed I2C driver"
-	depends on ARCH_HIX5HD2
+	depends on ARCH_HIX5HD2 || COMPILE_TEST
 	help
 	  Say Y here to include support for high-speed I2C controller in the
 	  Hisilicon based hix5hd2 SoCs.
-- 
1.9.1

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

* [PATCH] i2c: hix5hd2: add COMPILE_TEST
@ 2015-01-31  9:28 ` Zhangfei Gao
  0 siblings, 0 replies; 4+ messages in thread
From: Zhangfei Gao @ 2015-01-31  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 9439eb3ab9d1ec ("asm-generic: io: implement relaxed
accessor macros as conditional wrappers") has added
{read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h.
So COMPILE_TEST can be added.

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
 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 31e8308ba899..ddf486389dc4 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -79,7 +79,7 @@ config I2C_AMD8111
 
 config I2C_HIX5HD2
 	tristate "Hix5hd2 high-speed I2C driver"
-	depends on ARCH_HIX5HD2
+	depends on ARCH_HIX5HD2 || COMPILE_TEST
 	help
 	  Say Y here to include support for high-speed I2C controller in the
 	  Hisilicon based hix5hd2 SoCs.
-- 
1.9.1

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

* Re: [PATCH] i2c: hix5hd2: add COMPILE_TEST
  2015-01-31  9:28 ` Zhangfei Gao
@ 2015-02-05 19:20     ` Wolfram Sang
  -1 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2015-02-05 19:20 UTC (permalink / raw)
  To: Zhangfei Gao
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA

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

On Sat, Jan 31, 2015 at 05:28:15PM +0800, Zhangfei Gao wrote:
> Commit 9439eb3ab9d1ec ("asm-generic: io: implement relaxed
> accessor macros as conditional wrappers") has added
> {read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h.
> So COMPILE_TEST can be added.
> 
> Signed-off-by: Zhangfei Gao <zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

Applied to for-next, thanks!


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* [PATCH] i2c: hix5hd2: add COMPILE_TEST
@ 2015-02-05 19:20     ` Wolfram Sang
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2015-02-05 19:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Jan 31, 2015 at 05:28:15PM +0800, Zhangfei Gao wrote:
> Commit 9439eb3ab9d1ec ("asm-generic: io: implement relaxed
> accessor macros as conditional wrappers") has added
> {read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h.
> So COMPILE_TEST can be added.
> 
> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150205/a7d0e1cf/attachment.sig>

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

end of thread, other threads:[~2015-02-05 19:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-31  9:28 [PATCH] i2c: hix5hd2: add COMPILE_TEST Zhangfei Gao
2015-01-31  9:28 ` Zhangfei Gao
     [not found] ` <1422696495-27282-1-git-send-email-zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-02-05 19:20   ` Wolfram Sang
2015-02-05 19:20     ` 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.