Re: [PATCH] net: stmmac: fix build failure due to missing COMMON_CLK dependency

From: Andy Shevchenko
Date: Tue Jun 12 2018 - 12:35:11 EST


On Fri, Jun 8, 2018 at 5:59 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: Corentin Labbe <clabbe@xxxxxxxxxxxx>
> Date: Wed, 6 Jun 2018 18:45:22 +0000
>
>> This patch fix the build failure on m68k;
>> drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.o: In function `ipq806x_gmac_probe':
>> dwmac-ipq806x.c:(.text+0xda): undefined reference to `clk_set_rate'
>> drivers/net/ethernet/stmicro/stmmac/dwmac-rk.o: In function `rk_gmac_probe':
>> dwmac-rk.c:(.text+0x1e58): undefined reference to `clk_set_rate'
>> drivers/net/ethernet/stmicro/stmmac/dwmac-sti.o: In function `stid127_fix_retime_src':
>> dwmac-sti.c:(.text+0xd8): undefined reference to `clk_set_rate'
>> dwmac-sti.c:(.text+0x114): undefined reference to `clk_set_rate'
>> drivers/net/ethernet/stmicro/stmmac/dwmac-sti.o:dwmac-sti.c:(.text+0x12c): more undefined references to `clk_set_rate' follow
>> Lots of stmmac platform drivers need COMMON_CLK in their Kconfig depends.
>>
>> Signed-off-by: Corentin Labbe <clabbe@xxxxxxxxxxxx>
>
> Applied.

I think Geert has a better fix https://lkml.org/lkml/2018/6/11/122

--
With Best Regards,
Andy Shevchenko