diff options
Diffstat (limited to 'kernel/include/net/nfc/hci.h')
-rw-r--r-- | kernel/include/net/nfc/hci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/include/net/nfc/hci.h b/kernel/include/net/nfc/hci.h index 020a814bc..316694daf 100644 --- a/kernel/include/net/nfc/hci.h +++ b/kernel/include/net/nfc/hci.h @@ -179,6 +179,13 @@ void nfc_hci_unregister_device(struct nfc_hci_dev *hdev); void nfc_hci_set_clientdata(struct nfc_hci_dev *hdev, void *clientdata); void *nfc_hci_get_clientdata(struct nfc_hci_dev *hdev); +static inline int nfc_hci_set_vendor_cmds(struct nfc_hci_dev *hdev, + struct nfc_vendor_cmd *cmds, + int n_cmds) +{ + return nfc_set_vendor_cmds(hdev->ndev, cmds, n_cmds); +} + void nfc_hci_driver_failure(struct nfc_hci_dev *hdev, int err); int nfc_hci_result_to_errno(u8 result); |