diff options
author | Eric Lapuyade <eric.lapuyade@linux.intel.com> | 2012-10-17 10:50:10 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-19 17:56:59 -0500 |
commit | 84d4819033972f6bae2b34a8ba07c5c2e836e989 (patch) | |
tree | 896b2d48db352abf1eeb281d029648bbe42e7af3 /include | |
parent | 74a5b96621a50a6c41377bad65149930b050df98 (diff) |
NFC: Export nfc_hci_result_to_errno as it can be needed by HCI drivers
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/nfc/hci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h index 639f50af42df..150e3caddbcf 100644 --- a/include/net/nfc/hci.h +++ b/include/net/nfc/hci.h | |||
@@ -149,6 +149,8 @@ void *nfc_hci_get_clientdata(struct nfc_hci_dev *hdev); | |||
149 | 149 | ||
150 | void nfc_hci_driver_failure(struct nfc_hci_dev *hdev, int err); | 150 | void nfc_hci_driver_failure(struct nfc_hci_dev *hdev, int err); |
151 | 151 | ||
152 | int nfc_hci_result_to_errno(u8 result); | ||
153 | |||
152 | /* Host IDs */ | 154 | /* Host IDs */ |
153 | #define NFC_HCI_HOST_CONTROLLER_ID 0x00 | 155 | #define NFC_HCI_HOST_CONTROLLER_ID 0x00 |
154 | #define NFC_HCI_TERMINAL_HOST_ID 0x01 | 156 | #define NFC_HCI_TERMINAL_HOST_ID 0x01 |