mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
NFC: Export nfc_hci_result_to_errno as it can be needed by HCI drivers
Signed-off-by: Eric Lapuyade <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
74a5b96621
commit
84d4819033
2 changed files with 4 additions and 1 deletions
|
|
@ -33,7 +33,7 @@
|
|||
/* Largest headroom needed for outgoing HCI commands */
|
||||
#define HCI_CMDS_HEADROOM 1
|
||||
|
||||
static int nfc_hci_result_to_errno(u8 result)
|
||||
int nfc_hci_result_to_errno(u8 result)
|
||||
{
|
||||
switch (result) {
|
||||
case NFC_HCI_ANY_OK:
|
||||
|
|
@ -46,6 +46,7 @@ static int nfc_hci_result_to_errno(u8 result)
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(nfc_hci_result_to_errno);
|
||||
|
||||
static void nfc_hci_msg_tx_work(struct work_struct *work)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue