]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 14 Jul 2021 09:58:12 +0000 (11:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jul 2021 17:04:43 +0000 (10:04 -0700)
commita68ae14364597bb4ffde7e8582af817b18857e62
tree168becc25ed698c2b268b5201d16eb4c823de8ca
parent6c81b4e8aca1bcdf1602295ca8ca25802d756123
net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX

Making global2 support mandatory removed the Kconfig symbol
NET_DSA_MV88E6XXX_GLOBAL2.  This symbol also served as an intermediate
symbol to make NET_DSA_MV88E6XXX_PTP depend on NET_DSA_MV88E6XXX.  With
the symbol removed, the user is always asked about PTP support for
Marvell 88E6xxx switches, even if the latter support is not enabled.

Fix this by reinstating the dependency.

Fixes: 4843636b2754a843 ("net: dsa: mv88e6xxx: Make global2 support mandatory")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/Kconfig