aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-01-26 19:18:16 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2015-01-27 18:03:35 -0500
commit8abe3c6a9ec5e55daa6aec82215f3c27012e27fe (patch)
treea364599a94669794311e96017366a1c316772c96
parent8409e4283c1ca62ce107564de7ff93b4dd476d41 (diff)
NFC: pn544: Change event_received gate parameter to pipe
The below event_received hci handler has change the gate parameter to pipe. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
-rw-r--r--drivers/nfc/pn544/pn544.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nfc/pn544/pn544.c b/drivers/nfc/pn544/pn544.c
index 9c8051d20cea..12e819ddf17a 100644
--- a/drivers/nfc/pn544/pn544.c
+++ b/drivers/nfc/pn544/pn544.c
@@ -724,10 +724,11 @@ static int pn544_hci_check_presence(struct nfc_hci_dev *hdev,
724 * <= 0: driver handled the event, skb consumed 724 * <= 0: driver handled the event, skb consumed
725 * 1: driver does not handle the event, please do standard processing 725 * 1: driver does not handle the event, please do standard processing
726 */ 726 */
727static int pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 gate, u8 event, 727static int pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event,
728 struct sk_buff *skb) 728 struct sk_buff *skb)
729{ 729{
730 struct sk_buff *rgb_skb = NULL; 730 struct sk_buff *rgb_skb = NULL;
731 u8 gate = hdev->pipes[pipe].gate;
731 int r; 732 int r;
732 733
733 pr_debug("hci event %d\n", event); 734 pr_debug("hci event %d\n", event);