summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-12-29 11:05:45 -0800
committerDavid S. Miller <davem@davemloft.net>2018-01-02 21:52:48 -0500
commit21602e1a5578925f610155a0bcf056d1ea9de964 (patch)
treef3a4cbfccb0b5bee0f01930e1c81661605d734ee /drivers/net/ethernet/stmicro
parentf619b009009f5b9fb9ee82b93f789b66cb333e36 (diff)
downloadlinux-21602e1a5578925f610155a0bcf056d1ea9de964.tar.bz2
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>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions