Florian Fainelli 21602e1a55 net: dsa: Fix dsa_legacy_register() return value
We need to make the dsa_legacy_register() stub return 0 in order for
dsa_init_module() to successfully register and continue registering the
ETH_P_XDSA packet handler.

Fixes: 2a93c1a3651f ("net: dsa: Allow compiling out legacy support")
Reported-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-02 21:52:48 -05:00
..
2017-11-30 09:26:32 -05:00
2018-01-02 14:27:30 -05:00
2017-11-01 12:19:03 +09:00
2018-01-02 14:27:29 -05:00
2017-12-27 12:11:51 -05:00
2017-11-08 16:12:33 +09:00
2018-01-02 14:27:29 -05:00