NFC: nci: non-static functions can not be inline
authorRobert Dolca <robert.dolca@intel.com>
Mon, 26 Oct 2015 11:58:54 +0000 (13:58 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 28 Oct 2015 05:44:45 +0000 (06:44 +0100)
commitf11631748ee6973f85238109a3fa8ab8e760e5a4
treeb95898200f6a7c40dda4f954847dd098af75b081
parentd8e018c0b3211902af1bfb5d5b280f955a4633b7
NFC: nci: non-static functions can not be inline

This fixes a build error that seems to be toochain
dependent (Not seen with gcc v5.1):

In file included from net/nfc/nci/rsp.c:36:0:
net/nfc/nci/rsp.c: In function ‘nci_rsp_packet’:
include/net/nfc/nci_core.h:355:12: error: inlining failed in call to
always_inline ‘nci_prop_rsp_packet’: function body not available
 inline int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode,

Signed-off-by: Robert Dolca <robert.dolca@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nci_core.h
net/nfc/nci/core.c