summaryrefslogtreecommitdiff
path: root/include/linux/nfc.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-04-10 21:43:04 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 23:10:33 +0400
commit8112a5c91d781a22d2b631f3295386b0b70de7c8 (patch)
treed4239b5d7b2dff9d24b8db793cb6729c23f901c9 /include/linux/nfc.h
parent997002785e3f932fd26a0f9c3cd91d4b4861ed29 (diff)
downloadlinux-8112a5c91d781a22d2b631f3295386b0b70de7c8.tar.xz
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 'include/linux/nfc.h')
-rw-r--r--include/linux/nfc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfc.h b/include/linux/nfc.h
index 39c1fcf089c0..0ae9b5857c83 100644
--- a/include/linux/nfc.h
+++ b/include/linux/nfc.h
@@ -70,6 +70,7 @@ enum nfc_commands {
NFC_EVENT_TARGETS_FOUND,
NFC_EVENT_DEVICE_ADDED,
NFC_EVENT_DEVICE_REMOVED,
+ NFC_EVENT_TARGET_LOST,
/* private: internal use only */
__NFC_CMD_AFTER_LAST
};