diff options
-rw-r--r-- | include/net/nfc/nci_core.h | 8 | ||||
-rw-r--r-- | net/nfc/nci/core.c | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index 5a1572a34c49..57ce24fb0047 100644 --- a/include/net/nfc/nci_core.h +++ b/include/net/nfc/nci_core.h | |||
@@ -352,13 +352,13 @@ static inline int nci_set_vendor_cmds(struct nci_dev *ndev, | |||
352 | 352 | ||
353 | void nci_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb); | 353 | void nci_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb); |
354 | void nci_ntf_packet(struct nci_dev *ndev, struct sk_buff *skb); | 354 | void nci_ntf_packet(struct nci_dev *ndev, struct sk_buff *skb); |
355 | inline int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, | 355 | int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, |
356 | struct sk_buff *skb); | 356 | struct sk_buff *skb); |
357 | inline int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, | 357 | int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, |
358 | struct sk_buff *skb); | 358 | struct sk_buff *skb); |
359 | inline int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, | 359 | int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, |
360 | struct sk_buff *skb); | 360 | struct sk_buff *skb); |
361 | inline int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, | 361 | int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, |
362 | struct sk_buff *skb); | 362 | struct sk_buff *skb); |
363 | void nci_rx_data_packet(struct nci_dev *ndev, struct sk_buff *skb); | 363 | void nci_rx_data_packet(struct nci_dev *ndev, struct sk_buff *skb); |
364 | int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload); | 364 | int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload); |
diff --git a/net/nfc/nci/core.c b/net/nfc/nci/core.c index 2da03c08dad2..10c99a578421 100644 --- a/net/nfc/nci/core.c +++ b/net/nfc/nci/core.c | |||
@@ -1316,29 +1316,29 @@ static int nci_op_ntf_packet(struct nci_dev *ndev, __u16 ntf_opcode, | |||
1316 | return op->ntf(ndev, skb); | 1316 | return op->ntf(ndev, skb); |
1317 | } | 1317 | } |
1318 | 1318 | ||
1319 | inline int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, | 1319 | int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, |
1320 | struct sk_buff *skb) | 1320 | struct sk_buff *skb) |
1321 | { | 1321 | { |
1322 | return nci_op_rsp_packet(ndev, opcode, skb, ndev->ops->prop_ops, | 1322 | return nci_op_rsp_packet(ndev, opcode, skb, ndev->ops->prop_ops, |
1323 | ndev->ops->n_prop_ops); | 1323 | ndev->ops->n_prop_ops); |
1324 | } | 1324 | } |
1325 | 1325 | ||
1326 | inline int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, | 1326 | int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, |
1327 | struct sk_buff *skb) | 1327 | struct sk_buff *skb) |
1328 | { | 1328 | { |
1329 | return nci_op_ntf_packet(ndev, opcode, skb, ndev->ops->prop_ops, | 1329 | return nci_op_ntf_packet(ndev, opcode, skb, ndev->ops->prop_ops, |
1330 | ndev->ops->n_prop_ops); | 1330 | ndev->ops->n_prop_ops); |
1331 | } | 1331 | } |
1332 | 1332 | ||
1333 | inline int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, | 1333 | int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, |
1334 | struct sk_buff *skb) | 1334 | struct sk_buff *skb) |
1335 | { | 1335 | { |
1336 | return nci_op_rsp_packet(ndev, opcode, skb, ndev->ops->core_ops, | 1336 | return nci_op_rsp_packet(ndev, opcode, skb, ndev->ops->core_ops, |
1337 | ndev->ops->n_core_ops); | 1337 | ndev->ops->n_core_ops); |
1338 | } | 1338 | } |
1339 | 1339 | ||
1340 | inline int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, | 1340 | int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, |
1341 | struct sk_buff *skb) | 1341 | struct sk_buff *skb) |
1342 | { | 1342 | { |
1343 | return nci_op_ntf_packet(ndev, opcode, skb, ndev->ops->core_ops, | 1343 | return nci_op_ntf_packet(ndev, opcode, skb, ndev->ops->core_ops, |
1344 | ndev->ops->n_core_ops); | 1344 | ndev->ops->n_core_ops); |