For enabling the clock driver we use symbol CONFIG_CLK.
Select this symbol for the HiSilicon Fast Ethernet Controller driver.

Signed-off-by: Heinrich Schuchardt <[email protected]>
---
@Jerome

I could not find any usage of the drivers.
Should they be removed?
---
 drivers/net/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d3ef050d1a1..17ceb7be57a 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -979,7 +979,7 @@ source "drivers/net/mtk_eth/Kconfig"
 
 config HIFEMAC_ETH
        bool "HiSilicon Fast Ethernet Controller"
-       select DM_CLK
+       select CLK
        select DM_RESET
        select PHYLIB
        help
@@ -989,7 +989,7 @@ config HIFEMAC_ETH
 config HIFEMAC_MDIO
        bool "HiSilicon Fast Ethernet Controller MDIO interface"
        depends on DM_MDIO
-       select DM_CLK
+       select CLK
        help
          This driver supports the internal MDIO interface of HIFEMAC
          Ethernet controller.
-- 
2.51.0

Reply via email to