diff options
author | Ilan Elias <ilane@ti.com> | 2011-09-18 08:19:33 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-20 18:43:49 (GMT) |
commit | 8b3fe7b591b3c50061a8701f8eda14033420577b (patch) | |
tree | 1bdd98d750c12c6bdf6999d3f704a1f50e9db477 /drivers | |
parent | a7ce1c9446a7f7513211e4698d07357d20452909 (diff) | |
download | linux-fsl-qoriq-8b3fe7b591b3c50061a8701f8eda14033420577b.tar.xz |
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 'drivers')
-rw-r--r-- | drivers/nfc/pn533.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index f81a93e..c78eb6a 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c @@ -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, |