net: dsa: loop: Add module soft dependency
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 9 May 2020 23:45:44 +0000 (16:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 May 2020 06:17:13 +0000 (08:17 +0200)
commit608dc3c39402525e9bcc749fee23acf6ca96842c
treef67ee40a2d98c7d6abcab4d14284a345f9c91e5a
parenta6bbde923ab403ef71d746e7b902c5c5d736a4cd
net: dsa: loop: Add module soft dependency

[ Upstream commit 3047211ca11bf77b3ecbce045c0aa544d934b945 ]

There is a soft dependency against dsa_loop_bdinfo.ko which sets up the
MDIO device registration, since there are no symbols referenced by
dsa_loop.ko, there is no automatic loading of dsa_loop_bdinfo.ko which
is needed.

Fixes: 98cd1552ea27 ("net: dsa: Mock-up driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/dsa_loop.c