Skip to content
Commit 6a7ce95d authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

staging/octeon: Fix build error without CONFIG_NETDEVICES



While do COMPILE_TEST build without CONFIG_NETDEVICES,
we get Kconfig warning:

WARNING: unmet direct dependencies detected for PHYLIB
  Depends on [n]: NETDEVICES [=n]
  Selected by [y]:
  - OCTEON_ETHERNET [=y] && STAGING [=y] && (CAVIUM_OCTEON_SOC && NETDEVICES [=n] || COMPILE_TEST [=y])

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Reported-by: default avatarMark Brown <broonie@kernel.org>
Fixes: 171a9bae

 ("staging/octeon: Allow test build on !MIPS")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ac5fe226
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