diff options
author | Ilan Elias <ilane@ti.com> | 2011-09-18 11:19:33 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-20 14:43:49 -0400 |
commit | 8b3fe7b591b3c50061a8701f8eda14033420577b (patch) | |
tree | 1bdd98d750c12c6bdf6999d3f704a1f50e9db477 /net/nfc/nfc.h | |
parent | a7ce1c9446a7f7513211e4698d07357d20452909 (diff) |
NFC: Add dev_up and dev_down control operations
Add 2 new nfc control operations:
dev_up to turn on the nfc device
dev_down to turn off the nfc device
Signed-off-by: Ilan Elias <ilane@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/nfc.h')
-rw-r--r-- | net/nfc/nfc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h index aaf9832298f..1a877de8e23 100644 --- a/net/nfc/nfc.h +++ b/net/nfc/nfc.h @@ -101,6 +101,10 @@ static inline void nfc_device_iter_exit(struct class_dev_iter *iter) class_dev_iter_exit(iter); } +int nfc_dev_up(struct nfc_dev *dev); + +int nfc_dev_down(struct nfc_dev *dev); + int nfc_start_poll(struct nfc_dev *dev, u32 protocols); int nfc_stop_poll(struct nfc_dev *dev); |