Re: [PATCH] i2c: sprd:: depend on COMMON_CLK to fix compile tests

2021-01-22 Thread Wolfram Sang
On Sun, Jan 17, 2021 at 12:43:13PM +0100, Krzysztof Kozlowski wrote: > The I2C_SPRD uses Common Clock Framework thus it cannot be built on > platforms without it (e.g. compile test on MIPS with LANTIQ): > > /usr/bin/mips-linux-gnu-ld: drivers/i2c/busses/i2c-sprd.o: in function > `sprd_i2c_pro

Re: [PATCH] i2c: sprd:: depend on COMMON_CLK to fix compile tests

2021-01-19 Thread Baolin Wang
Hi, On Sun, Jan 17, 2021 at 7:43 PM Krzysztof Kozlowski wrote: > > The I2C_SPRD uses Common Clock Framework thus it cannot be built on > platforms without it (e.g. compile test on MIPS with LANTIQ): > > /usr/bin/mips-linux-gnu-ld: drivers/i2c/busses/i2c-sprd.o: in function > `sprd_i2c_probe'

[PATCH] i2c: sprd:: depend on COMMON_CLK to fix compile tests

2021-01-17 Thread Krzysztof Kozlowski
The I2C_SPRD uses Common Clock Framework thus it cannot be built on platforms without it (e.g. compile test on MIPS with LANTIQ): /usr/bin/mips-linux-gnu-ld: drivers/i2c/busses/i2c-sprd.o: in function `sprd_i2c_probe': i2c-sprd.c:(.text.sprd_i2c_probe+0x254): undefined reference to `clk_