Skip to content

Commit 86766a3

Browse files
shawnguo2Wolfram Sang
authored andcommitted
i2c: zx2967: drop COMPILE_TEST dependency
0-DAY kernel test reports the following build issue on IA64 architecture with allmodconfig. drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb': >> drivers/i2c/busses/i2c-zx2967.c:87:2: error: implicit declaration of function 'writesb' [-Werror=implicit-function-declaration] writesb(i2c->reg_base + reg, data, len); ^~~~~~~ drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_readsb': >> drivers/i2c/busses/i2c-zx2967.c:93:2: error: implicit declaration of function 'readsb' [-Werror=implicit-function-declaration] readsb(i2c->reg_base + reg, data, len); ^~~~~~ cc1: some warnings being treated as errors It's caused by that writesb/readsb are unavailable on IA64 architecture. Let's drop COMPILE_TEST dependency to avoid the build issue. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent c3518a4 commit 86766a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ config I2C_OPAL
12721272

12731273
config I2C_ZX2967
12741274
tristate "ZTE ZX2967 I2C support"
1275-
depends on ARCH_ZX || COMPILE_TEST
1275+
depends on ARCH_ZX
12761276
default y
12771277
help
12781278
Selecting this option will add ZX2967 I2C driver.

0 commit comments

Comments
 (0)