summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/st21nfca/st21nfca_dep.h
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2014-11-13 00:30:39 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2014-12-02 02:02:00 +0100
commita4415e761404324dfbf7aa80aa3980103d7071f9 (patch)
treeb2f1b093a0387561b6ea2010c38949242ad6e183 /drivers/nfc/st21nfca/st21nfca_dep.h
parenta688bf55c5908d2206307a9f76d31172ee2b2d92 (diff)
downloadblackbird-op-linux-a4415e761404324dfbf7aa80aa3980103d7071f9.tar.gz
blackbird-op-linux-a4415e761404324dfbf7aa80aa3980103d7071f9.zip
NFC: st21nfca: Rework st21nfca_hci_event_received to route event to relevent gate.
As many event with the same id can come from several gates, it will be easier to manage each of them by gate. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfca/st21nfca_dep.h')
-rw-r--r--drivers/nfc/st21nfca/st21nfca_dep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/st21nfca/st21nfca_dep.h b/drivers/nfc/st21nfca/st21nfca_dep.h
index ca213dee9c6e..baf4664b4fc4 100644
--- a/drivers/nfc/st21nfca/st21nfca_dep.h
+++ b/drivers/nfc/st21nfca/st21nfca_dep.h
@@ -32,8 +32,8 @@ struct st21nfca_dep_info {
u8 lri;
} __packed;
-int st21nfca_tm_event_send_data(struct nfc_hci_dev *hdev, struct sk_buff *skb,
- u8 gate);
+int st21nfca_dep_event_received(struct nfc_hci_dev *hdev,
+ u8 event, struct sk_buff *skb);
int st21nfca_tm_send_dep_res(struct nfc_hci_dev *hdev, struct sk_buff *skb);
int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len);
OpenPOWER on IntegriCloud