]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: fix build failure due to missing COMMON_CLK dependency
authorCorentin Labbe <clabbe@baylibre.com>
Wed, 6 Jun 2018 18:45:22 +0000 (18:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jun 2018 14:59:08 +0000 (10:59 -0400)
commit33c9ba88098b2a1d7f873e138620d5f0c6edebce
tree2374b9a2fe2e8964fa0f1d0a959f74a669fea589
parente754b95550b5fc6a3fdf1a08b8d1a37a6dbb219a
net: stmmac: fix build failure due to missing COMMON_CLK dependency

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@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Kconfig