mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
NFC: Export nfc_hci_sak_to_protocol()
Some HCI drivers will need it. Signed-off-by: Eric Lapuyade <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
84d4819033
commit
9c5121a034
2 changed files with 3 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
|
|||
kfree_skb(skb);
|
||||
}
|
||||
|
||||
static u32 nfc_hci_sak_to_protocol(u8 sak)
|
||||
u32 nfc_hci_sak_to_protocol(u8 sak)
|
||||
{
|
||||
switch (NFC_HCI_TYPE_A_SEL_PROT(sak)) {
|
||||
case NFC_HCI_TYPE_A_SEL_PROT_MIFARE:
|
||||
|
|
@ -185,6 +185,7 @@ static u32 nfc_hci_sak_to_protocol(u8 sak)
|
|||
return 0xffffffff;
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(nfc_hci_sak_to_protocol);
|
||||
|
||||
int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue