Skip to content

Commit

Permalink
i2c: hix5hd2: add COMPILE_TEST
Browse files Browse the repository at this point in the history
Commit 9439eb3 ("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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
zhangfeigao authored and Wolfram Sang committed Feb 5, 2015
1 parent 26680ee commit 181d9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 181d9a0

Please sign in to comment.