kernel-hacking-2024-linux-s.../net/nfc
Samuel Ortiz 645d35902c NFC: Fix LLCP related build failure
llcp_mac routines should be static and inlined or build will fail with NFC
selected without LLCP.

This patch fixes:

LD [M]  net/nfc/nfc.o
net/nfc/netlink.o: In function `nfc_llcp_mac_is_down':
netlink.c:(.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
net/nfc/core.o:(.text+0x0): first defined here
net/nfc/netlink.o: In function `nfc_llcp_mac_is_up':
netlink.c:(.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
net/nfc/core.o:(.text+0x10): first defined here
net/nfc/af_nfc.o: In function `nfc_llcp_mac_is_down':
(.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
net/nfc/core.o:(.text+0x0): first defined here
net/nfc/af_nfc.o: In function `nfc_llcp_mac_is_up':
(.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
net/nfc/core.o:(.text+0x10): first defined here
net/nfc/rawsock.o: In function `nfc_llcp_mac_is_down':
rawsock.c:(.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
net/nfc/core.o:(.text+0x0): first defined here
net/nfc/rawsock.o: In function `nfc_llcp_mac_is_up':
rawsock.c:(.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
net/nfc/core.o:(.text+0x10): first defined here

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-12-19 14:40:22 -05:00
..
llcp NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
nci NFC: Add function name to the NFC pr_fmt() routine 2011-12-14 14:50:12 -05:00
af_nfc.c net: Fix files explicitly needing to include module.h 2011-10-31 19:30:28 -04:00
core.c NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
Kconfig NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
Makefile NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
netlink.c NFC: Add a DEP link control netlink command 2011-12-14 14:50:12 -05:00
nfc.h NFC: Fix LLCP related build failure 2011-12-19 14:40:22 -05:00
rawsock.c NFC: Atomic socket allocation 2011-12-14 14:50:12 -05:00