diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-04-10 13:43:04 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-12 15:10:33 -0400 |
commit | 8112a5c91d781a22d2b631f3295386b0b70de7c8 (patch) | |
tree | d4239b5d7b2dff9d24b8db793cb6729c23f901c9 /include | |
parent | 997002785e3f932fd26a0f9c3cd91d4b4861ed29 (diff) |
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')
-rw-r--r-- | include/linux/nfc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfc.h b/include/linux/nfc.h index 39c1fcf089c..0ae9b5857c8 100644 --- a/include/linux/nfc.h +++ b/include/linux/nfc.h | |||
@@ -70,6 +70,7 @@ enum nfc_commands { | |||
70 | NFC_EVENT_TARGETS_FOUND, | 70 | NFC_EVENT_TARGETS_FOUND, |
71 | NFC_EVENT_DEVICE_ADDED, | 71 | NFC_EVENT_DEVICE_ADDED, |
72 | NFC_EVENT_DEVICE_REMOVED, | 72 | NFC_EVENT_DEVICE_REMOVED, |
73 | NFC_EVENT_TARGET_LOST, | ||
73 | /* private: internal use only */ | 74 | /* private: internal use only */ |
74 | __NFC_CMD_AFTER_LAST | 75 | __NFC_CMD_AFTER_LAST |
75 | }; | 76 | }; |