summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2015-01-31 17:28:15 +0800
committerWolfram Sang <wsa@the-dreams.de>2015-02-05 22:29:22 +0100
commit181d9a07da1050d3da30c6936eb825724fefc18a (patch)
treecd5fa357b68d5aea00eb4adcbf3dc0436b20e233 /drivers/i2c
parent26680ee279ca7e404275eab2c683b5324afb396a (diff)
downloadop-kernel-dev-181d9a07da1050d3da30c6936eb825724fefc18a.zip
op-kernel-dev-181d9a07da1050d3da30c6936eb825724fefc18a.tar.gz
i2c: hix5hd2: add COMPILE_TEST
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> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 442408d..d4a5c2e 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.
OpenPOWER on IntegriCloud