summaryrefslogtreecommitdiff
path: root/include/net/p8022.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/p8022.h')
0 files changed, 0 insertions, 0 deletions
='commit-subject'>net: dsa: move netdevice notifier registration
Move the netdevice notifier block register code in slave.c and provide helpers for dsa.c to register and unregister it. At the same time, check for errors since (un)register_netdevice_notifier may fail. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--net/dsa/dsa.c10
-rw-r--r--net/dsa/dsa_priv.h4
-rw-r--r--net/dsa/slave.c22
3 files changed, 26 insertions, 10 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c