diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-06-24 17:25:26 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-06-28 00:21:01 +0300 |
commit | 86766a3e15ac73dcf9542eebc60d3c34578d463a (patch) | |
tree | 3a68abd1965a36bcc6b42d8c037451931ef84a39 /drivers/i2c/busses/i2c-designware-slave.c | |
parent | c3518a4ed8753a88b0dee614a64ffadd5f67386b (diff) | |
download | linux-86766a3e15ac73dcf9542eebc60d3c34578d463a.tar.xz |
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 <fengguang.wu@intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-slave.c')
0 files changed, 0 insertions, 0 deletions