mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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:
parent
a7ce1c9446
commit
8b3fe7b591
6 changed files with 149 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue