Commit bde49753 authored by Corentin Labbe's avatar Corentin Labbe Committed by David S. Miller

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: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 66e58e0e
...@@ -33,7 +33,7 @@ config DWMAC_DWC_QOS_ETH ...@@ -33,7 +33,7 @@ config DWMAC_DWC_QOS_ETH
select PHYLIB select PHYLIB
select CRC32 select CRC32
select MII select MII
depends on OF && HAS_DMA depends on OF && COMMON_CLK && HAS_DMA
help help
Support for chips using the snps,dwc-qos-ethernet.txt DT binding. Support for chips using the snps,dwc-qos-ethernet.txt DT binding.
...@@ -57,7 +57,7 @@ config DWMAC_ANARION ...@@ -57,7 +57,7 @@ config DWMAC_ANARION
config DWMAC_IPQ806X config DWMAC_IPQ806X
tristate "QCA IPQ806x DWMAC support" tristate "QCA IPQ806x DWMAC support"
default ARCH_QCOM default ARCH_QCOM
depends on OF && (ARCH_QCOM || COMPILE_TEST) depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
select MFD_SYSCON select MFD_SYSCON
help help
Support for QCA IPQ806X DWMAC Ethernet. Support for QCA IPQ806X DWMAC Ethernet.
...@@ -100,7 +100,7 @@ config DWMAC_OXNAS ...@@ -100,7 +100,7 @@ config DWMAC_OXNAS
config DWMAC_ROCKCHIP config DWMAC_ROCKCHIP
tristate "Rockchip dwmac support" tristate "Rockchip dwmac support"
default ARCH_ROCKCHIP default ARCH_ROCKCHIP
depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) depends on OF && COMMON_CLK && (ARCH_ROCKCHIP || COMPILE_TEST)
select MFD_SYSCON select MFD_SYSCON
help help
Support for Ethernet controller on Rockchip RK3288 SoC. Support for Ethernet controller on Rockchip RK3288 SoC.
...@@ -123,7 +123,7 @@ config DWMAC_SOCFPGA ...@@ -123,7 +123,7 @@ config DWMAC_SOCFPGA
config DWMAC_STI config DWMAC_STI
tristate "STi GMAC support" tristate "STi GMAC support"
default ARCH_STI default ARCH_STI
depends on OF && (ARCH_STI || COMPILE_TEST) depends on OF && COMMON_CLK && (ARCH_STI || COMPILE_TEST)
select MFD_SYSCON select MFD_SYSCON
---help--- ---help---
Support for ethernet controller on STi SOCs. Support for ethernet controller on STi SOCs.
...@@ -147,7 +147,7 @@ config DWMAC_STM32 ...@@ -147,7 +147,7 @@ config DWMAC_STM32
config DWMAC_SUNXI config DWMAC_SUNXI
tristate "Allwinner GMAC support" tristate "Allwinner GMAC support"
default ARCH_SUNXI default ARCH_SUNXI
depends on OF && (ARCH_SUNXI || COMPILE_TEST) depends on OF && COMMON_CLK && (ARCH_SUNXI || COMPILE_TEST)
---help--- ---help---
Support for Allwinner A20/A31 GMAC ethernet controllers. Support for Allwinner A20/A31 GMAC ethernet controllers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment