net: ethernet: Fix unmet direct dependencies detected for NVMEM_SUNPLUS_OCOTP
authorWells Lu <wellslutw@gmail.com>
Fri, 13 May 2022 11:57:16 +0000 (19:57 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 May 2022 01:02:21 +0000 (18:02 -0700)
Removed unnecessary:

select COMMON_CLK_SP7021
select RESET_SUNPLUS
select NVMEM_SUNPLUS_OCOTP

from Kconfig.

Reported-by: kernel test robot <yujie.liu@intel.com>
Signed-off-by: Wells Lu <wellslutw@gmail.com>
Link: https://lore.kernel.org/r/1652443036-24731-1-git-send-email-wellslutw@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sunplus/Kconfig

index d0144a2ab9186b7c24b148ce377be738a443f481..be50a6b723eb449f229fa64f66a8671e9fb35d3e 100644 (file)
@@ -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.