nfc: nci: non-static functions can not be inline
Subsystems (3)
PATCH 1/1 nfc: nci: non-static functions can not be inline
Signed-off-by Robert Dolca <[email protected]>
--- include/net/nfc/nci_core.h | 8 ++++---- net/nfc/nci/core.c | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-)
include/net/nfc/nci_core.h +4 -4
@@ -351,13 +351,13 @@ static inline int nci_set_vendor_cmds(struct nci_dev *ndev,void nci_rsp_packet (struct nci_dev *ndev,struct sk_buff *skb);void nci_ntf_packet (struct nci_dev *ndev,struct sk_buff *skb); -inline int nci_prop_rsp_packet (struct nci_dev *ndev,__u16 opcode, +int nci_prop_rsp_packet (struct nci_dev *ndev,__u16 opcode,struct sk_buff *skb); -inline int nci_prop_ntf_packet (struct nci_dev *ndev,__u16 opcode, +int nci_prop_ntf_packet (struct nci_dev *ndev,__u16 opcode,struct sk_buff *skb); -inline int nci_core_rsp_packet (struct nci_dev *ndev,__u16 opcode, +int nci_core_rsp_packet (struct nci_dev *ndev,__u16 opcode,struct sk_buff *skb); -inline int nci_core_ntf_packet (struct nci_dev *ndev,__u16 opcode, +int nci_core_ntf_packet (struct nci_dev *ndev,__u16 opcode,struct sk_buff *skb);void nci_rx_data_packet (struct nci_dev *ndev,struct sk_buff *skb);int nci_send_cmd (struct nci_dev *ndev,__u16 opcode,__u8 plen,void *payload);
net/nfc/nci/core.c +8 -8
@@ -1314,29 +1314,29 @@ static int nci_op_ntf_packet(struct nci_dev *ndev, __u16 ntf_opcode,return op->ntf (ndev, skb); } -inline int nci_prop_rsp_packet (struct nci_dev *ndev,__u16 opcode, -struct sk_buff *skb) +int nci_prop_rsp_packet (struct nci_dev *ndev,__u16 opcode, +struct sk_buff *skb) {return nci_op_rsp_packet (ndev, opcode, skb, ndev->ops->prop_ops, ndev->ops->n_prop_ops); } -inline int nci_prop_ntf_packet (struct nci_dev *ndev,__u16 opcode, -struct sk_buff *skb) +int nci_prop_ntf_packet (struct nci_dev *ndev,__u16 opcode, +struct sk_buff *skb) {return nci_op_ntf_packet (ndev, opcode, skb, ndev->ops->prop_ops, ndev->ops->n_prop_ops); } -inline int nci_core_rsp_packet (struct nci_dev *ndev,__u16 opcode, -struct sk_buff *skb) +int nci_core_rsp_packet (struct nci_dev *ndev,__u16 opcode, +struct sk_buff *skb) {return nci_op_rsp_packet (ndev, opcode, skb, ndev->ops->core_ops, ndev->ops->n_core_ops); } -inline int nci_core_ntf_packet (struct nci_dev *ndev,__u16 opcode, -struct sk_buff *skb) +int nci_core_ntf_packet (struct nci_dev *ndev,__u16 opcode, +struct sk_buff *skb) {return nci_op_ntf_packet (ndev, opcode, skb, ndev->ops->core_ops, ndev->ops->n_core_ops);
Signature · 1 line
1.9.1