diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-01-06 15:58:18 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-01-06 19:32:40 -0500 |
commit | 22c15bf30b70ab2eae300f093ffc64e182620aba (patch) | |
tree | e191a88c1cd70dd0281cad5b69e3ca79671451d0 /include/net/nfc | |
parent | 86e8586ed5beea15ce7c359f02a1084c2da93bc7 (diff) |
NFC: NCI: Add set_config API
This API can be used by drivers to send their custom
configuration using SET_CONFIG NCI command to the device.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r-- | include/net/nfc/nci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index 5c6fadd63483..2b93b77b210c 100644 --- a/include/net/nfc/nci_core.h +++ b/include/net/nfc/nci_core.h | |||
@@ -155,6 +155,7 @@ void nci_free_device(struct nci_dev *ndev); | |||
155 | int nci_register_device(struct nci_dev *ndev); | 155 | int nci_register_device(struct nci_dev *ndev); |
156 | void nci_unregister_device(struct nci_dev *ndev); | 156 | void nci_unregister_device(struct nci_dev *ndev); |
157 | int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb); | 157 | int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb); |
158 | int nci_set_config(struct nci_dev *ndev, __u8 id, size_t len, __u8 *val); | ||
158 | 159 | ||
159 | static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev, | 160 | static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev, |
160 | unsigned int len, | 161 | unsigned int len, |