[PATCH net-next] net: ethernet: Fix unmet direct dependencies detected for NVMEM_SUNPLUS_OCOTP

From: Wells Lu
Date: Fri May 13 2022 - 07:57:38 EST


Removed unnecessary:

select COMMON_CLK_SP7021
select RESET_SUNPLUS
select NVMEM_SUNPLUS_OCOTP

from Kconfig.

Reported-by: kernel test robot <yujie.liu@xxxxxxxxx>
Signed-off-by: Wells Lu <wellslutw@xxxxxxxxx>
---
drivers/net/ethernet/sunplus/Kconfig | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/net/ethernet/sunplus/Kconfig b/drivers/net/ethernet/sunplus/Kconfig
index d0144a2..be50a6b 100644
--- a/drivers/net/ethernet/sunplus/Kconfig
+++ b/drivers/net/ethernet/sunplus/Kconfig
@@ -23,9 +23,6 @@ config SP7021_EMAC
tristate "Sunplus Dual 10M/100M Ethernet devices"
depends on SOC_SP7021 || COMPILE_TEST
select PHYLIB
- select COMMON_CLK_SP7021
- select RESET_SUNPLUS
- select NVMEM_SUNPLUS_OCOTP
help
If you have Sunplus dual 10M/100M Ethernet devices, say Y.
The network device creates two net-device interfaces.
--
2.7.4