]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i2c: hix5hd2: add COMPILE_TEST
authorZhangfei Gao <zhangfei.gao@linaro.org>
Sat, 31 Jan 2015 09:28:15 +0000 (17:28 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 5 Feb 2015 21:29:22 +0000 (22:29 +0100)
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>
drivers/i2c/busses/Kconfig

index 442408d2e7b73d98d959703b19d14ccc9df85167..d4a5c2e5788bf68d96f841a58df899e9c252f8d0 100644 (file)
@@ -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.