net: stmmac: depend on COMMON_CLK
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Aug 2019 21:34:05 +0000 (14:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 21:35:02 +0000 (14:35 -0700)
Fixes: 190f73ab4c43 ("net: stmmac: setup higher frequency clk support for EHL & TGL")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Kconfig

index 2325b40..338e25a 100644 (file)
@@ -200,6 +200,7 @@ endif
 config STMMAC_PCI
        tristate "STMMAC PCI bus support"
        depends on STMMAC_ETH && PCI
+       depends on COMMON_CLK
        ---help---
          This selects the platform specific bus support for the stmmac driver.
          This driver was tested on XLINX XC2V3000 FF1152AMT0221