diff options
author | Arron Wang <arron.wang@intel.com> | 2012-09-27 05:32:55 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-10-26 12:26:45 -0400 |
commit | f7a5f6c532f33ba66a7ca19e81ed447a83dab2db (patch) | |
tree | 6ac75749971e6870a0a8fbbf059fcca2af9ee55b /include | |
parent | 7e2afc9d072b9f84b314b208a125c2b1ce36b685 (diff) |
NFC: Pass hardware specific HCI event to driver
Signed-off-by: Arron Wang <arron.wang@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/nfc/hci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h index df6523dcd3c8..490d323a9ec3 100644 --- a/include/net/nfc/hci.h +++ b/include/net/nfc/hci.h | |||
@@ -47,6 +47,8 @@ struct nfc_hci_ops { | |||
47 | data_exchange_cb_t cb, void *cb_context); | 47 | data_exchange_cb_t cb, void *cb_context); |
48 | int (*check_presence)(struct nfc_hci_dev *hdev, | 48 | int (*check_presence)(struct nfc_hci_dev *hdev, |
49 | struct nfc_target *target); | 49 | struct nfc_target *target); |
50 | void (*event_received)(struct nfc_hci_dev *hdev, u8 gate, u8 event, | ||
51 | struct sk_buff *skb); | ||
50 | }; | 52 | }; |
51 | 53 | ||
52 | /* Pipes */ | 54 | /* Pipes */ |
@@ -222,5 +224,6 @@ int nfc_hci_send_response(struct nfc_hci_dev *hdev, u8 gate, u8 response, | |||
222 | const u8 *param, size_t param_len); | 224 | const u8 *param, size_t param_len); |
223 | int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, | 225 | int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, |
224 | const u8 *param, size_t param_len); | 226 | const u8 *param, size_t param_len); |
227 | int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate); | ||
225 | 228 | ||
226 | #endif /* __NET_HCI_H */ | 229 | #endif /* __NET_HCI_H */ |