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 <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
Ilan Elias 2011-09-18 11:19:33 +03:00 • committed by John W. Linville
commit 8b3fe7b591
6 changed files with 149 additions and 0 deletions

View file

@ -1432,6 +1432,8 @@ static int pn533_set_configuration(struct pn533 *dev, u8 cfgitem, u8 *cfgdata,
}
struct nfc_ops pn533_nfc_ops = {
.dev_up = NULL,
.dev_down = NULL,
.start_poll = pn533_start_poll,
.stop_poll = pn533_stop_poll,
.activate_target = pn533_activate_target,