aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@linux.intel.com>2012-04-10 13:43:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 15:10:34 -0400
commite1da0efa2ee71df957b280bcfa41f82ce6986a1d (patch)
tree6b158595ad501b56545a1461104ae8cbbf1b9c76 /include/net
parent8112a5c91d781a22d2b631f3295386b0b70de7c8 (diff)
NFC: Export target lost function
NFC drivers will call this routine when they detect that a tag leaves the RF field. This will eventually lead to the corresponding netlink event to be sent. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/nfc/nfc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index bac070bf3514..57ea09533ae1 100644
--- a/include/net/nfc/nfc.h
+++ b/include/net/nfc/nfc.h
@@ -181,6 +181,7 @@ int nfc_set_remote_general_bytes(struct nfc_dev *dev,
181 181
182int nfc_targets_found(struct nfc_dev *dev, 182int nfc_targets_found(struct nfc_dev *dev,
183 struct nfc_target *targets, int ntargets); 183 struct nfc_target *targets, int ntargets);
184int nfc_target_lost(struct nfc_dev *dev, u32 target_idx);
184 185
185int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, 186int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx,
186 u8 comm_mode, u8 rf_mode); 187 u8 comm_mode, u8 rf_mode);