summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-03-05 01:03:34 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-03-06 15:16:19 -0500
commitc970a1ac4e75a5d31c7b6e8e9f0bb192b0a511e7 (patch)
tree8c1e110d2c21b69132b5912a0a8f4e1f65855f15 /include
parentc3b1e1e8a76fdaa507daaa95ba7bd1d8d0c74b6b (diff)
downloadlinux-stable-c970a1ac4e75a5d31c7b6e8e9f0bb192b0a511e7.tar.gz
linux-stable-c970a1ac4e75a5d31c7b6e8e9f0bb192b0a511e7.tar.bz2
linux-stable-c970a1ac4e75a5d31c7b6e8e9f0bb192b0a511e7.zip
NFC: Add device powered netlink attribute
For user space to know if a device is up or down. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfc.h b/include/linux/nfc.h
index b4999abcb2a2..39c1fcf089c0 100644
--- a/include/linux/nfc.h
+++ b/include/linux/nfc.h
@@ -107,6 +107,7 @@ enum nfc_attrs {
NFC_ATTR_TARGET_SENSF_RES,
NFC_ATTR_COMM_MODE,
NFC_ATTR_RF_MODE,
+ NFC_ATTR_DEVICE_POWERED,
/* private: internal use only */
__NFC_ATTR_AFTER_LAST
};