aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/nfc
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-10-25 17:54:43 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-26 22:55:12 -0400
commit96d4581f0b3712221d6ed4a765bb6b4ea40f2b2f (patch)
tree1d07dd46daa8b0b1c2aa0e3d3c7c4f9cd47b7fbe /include/net/nfc
parentcde2aa99ba702ab8efa583495e54731b9f854e66 (diff)
NFC: netlink: Add mode parameter to deactivate_target functions
In order to manage in a better way the nci poll mode state machine, add mode parameter to deactivate_target functions. This way we can manage different target state. mode parameter make sense only in nci core. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r--include/net/nfc/nfc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index 30afc9a6718c..dcfcfc9c00bf 100644
--- a/include/net/nfc/nfc.h
+++ b/include/net/nfc/nfc.h
@@ -68,7 +68,7 @@ struct nfc_ops {
68 int (*activate_target)(struct nfc_dev *dev, struct nfc_target *target, 68 int (*activate_target)(struct nfc_dev *dev, struct nfc_target *target,
69 u32 protocol); 69 u32 protocol);
70 void (*deactivate_target)(struct nfc_dev *dev, 70 void (*deactivate_target)(struct nfc_dev *dev,
71 struct nfc_target *target); 71 struct nfc_target *target, u8 mode);
72 int (*im_transceive)(struct nfc_dev *dev, struct nfc_target *target, 72 int (*im_transceive)(struct nfc_dev *dev, struct nfc_target *target,
73 struct sk_buff *skb, data_exchange_cb_t cb, 73 struct sk_buff *skb, data_exchange_cb_t cb,
74 void *cb_context); 74 void *cb_context);