diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-12-04 18:45:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-05 23:39:06 +0100 |
commit | aacf6578ef7704d8df252bbc146b1a35ca131248 (patch) | |
tree | 6ccb9d2e6d16fee4a3141695e01c2767d8a57e4e /drivers/of/of_private.h | |
parent | Merge branch 's390-fixes' (diff) | |
download | linux-aacf6578ef7704d8df252bbc146b1a35ca131248.tar.xz linux-aacf6578ef7704d8df252bbc146b1a35ca131248.zip |
net: ethernet: ti: cpsw_switchdev: fix unmet direct dependencies detected for NET_SWITCHDEV
Replace "select NET_SWITCHDEV" vs "depends on NET_SWITCHDEV" to fix Kconfig
warning with CONFIG_COMPILE_TEST=y
WARNING: unmet direct dependencies detected for NET_SWITCHDEV
Depends on [n]: NET [=y] && INET [=n]
Selected by [y]:
- TI_CPSW_SWITCHDEV [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_TI [=y] && (ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST [=y])
because TI_CPSW_SWITCHDEV blindly selects NET_SWITCHDEV even though
INET is not set/enabled, while NET_SWITCHDEV depends on INET.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of/of_private.h')
0 files changed, 0 insertions, 0 deletions