summaryrefslogtreecommitdiffstats
path: root/net/nfc/nfc.h
diff options
context:
space:
mode:
authorSamuel Ortiz2012-04-10 19:43:04 +0200
committerJohn W. Linville2012-04-12 21:10:33 +0200
commit8112a5c91d781a22d2b631f3295386b0b70de7c8 (patch)
treed4239b5d7b2dff9d24b8db793cb6729c23f901c9 /net/nfc/nfc.h
parentath9k: remove dead code (diff)
downloadkernel-qcow2-linux-8112a5c91d781a22d2b631f3295386b0b70de7c8.tar.gz
kernel-qcow2-linux-8112a5c91d781a22d2b631f3295386b0b70de7c8.tar.xz
kernel-qcow2-linux-8112a5c91d781a22d2b631f3295386b0b70de7c8.zip
NFC: Add a target lost netlink event
Some chips are capable of detecting when a tag is out of the field, so they could send a netlink event about it to userspace. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/nfc.h')
-rw-r--r--net/nfc/nfc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h
index ec8794c1099c..2c868d2b3c57 100644
--- a/net/nfc/nfc.h
+++ b/net/nfc/nfc.h
@@ -119,6 +119,7 @@ void nfc_genl_data_init(struct nfc_genl_data *genl_data);
void nfc_genl_data_exit(struct nfc_genl_data *genl_data);
int nfc_genl_targets_found(struct nfc_dev *dev);
+int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx);
int nfc_genl_device_added(struct nfc_dev *dev);
int nfc_genl_device_removed(struct nfc_dev *dev);