summaryrefslogtreecommitdiff
path: root/net/nfc/Makefile
blob: 2555ff8e7219b19ecdc06da62d5bef6ce555ae20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# Makefile for the Linux NFC subsystem.
#

obj-$(CONFIG_NFC) += nfc.o
obj-$(CONFIG_NFC_NCI) += nci/
obj-$(CONFIG_NFC_HCI) += hci/
obj-$(CONFIG_NFC_DIGITAL) += nfc_digital.o

nfc-objs := core.o netlink.o af_nfc.o rawsock.o llcp_core.o llcp_commands.o \
		llcp_sock.o

nfc_digital-objs := digital_core.o digital_technology.o digital_dep.o
an='2' class='oid'>321fa4ffd94e333657e54037d2511c862ec92f6f (diff)
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