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 /net/nfc/hci | |
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 'net/nfc/hci')
-rw-r--r-- | net/nfc/hci/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c index 38d5f96dfd10..6825a200c4bb 100644 --- a/net/nfc/hci/core.c +++ b/net/nfc/hci/core.c | |||
@@ -33,7 +33,7 @@ | |||
33 | /* Largest headroom needed for outgoing HCI commands */ | 33 | /* Largest headroom needed for outgoing HCI commands */ |
34 | #define HCI_CMDS_HEADROOM 1 | 34 | #define HCI_CMDS_HEADROOM 1 |
35 | 35 | ||
36 | static int nfc_hci_result_to_errno(u8 result) | 36 | int nfc_hci_result_to_errno(u8 result) |
37 | { | 37 | { |
38 | switch (result) { | 38 | switch (result) { |
39 | case NFC_HCI_ANY_OK: | 39 | case NFC_HCI_ANY_OK: |
@@ -46,6 +46,7 @@ static int nfc_hci_result_to_errno(u8 result) | |||
46 | return -1; | 46 | return -1; |
47 | } | 47 | } |
48 | } | 48 | } |
49 | EXPORT_SYMBOL(nfc_hci_result_to_errno); | ||
49 | 50 | ||
50 | static void nfc_hci_msg_tx_work(struct work_struct *work) | 51 | static void nfc_hci_msg_tx_work(struct work_struct *work) |
51 | { | 52 | { |