diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-31 00:05:50 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-06-04 21:34:31 +0200 |
commit | 73167ced31d15c04e57b9e0885ac05675e9195a4 (patch) | |
tree | 165bc763ef1058ad8ec66ccd8adbb39c5af7e6f1 /include/net/nfc/nfc.h | |
parent | be9ae4ce4ee66e211815122ab4f41913efed4fec (diff) | |
download | linux-73167ced31d15c04e57b9e0885ac05675e9195a4.tar.bz2 |
NFC: Introduce target mode rx data callback
This routine will be called by drivers whenever they receive data in target
mode. This should be unexpected events and as such should be handled by a
standalone API (i.e. not as a callback pointer from an existing API).
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc/nfc.h')
-rw-r--r-- | include/net/nfc/nfc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h index 45c4c970575c..180964b954ab 100644 --- a/include/net/nfc/nfc.h +++ b/include/net/nfc/nfc.h @@ -202,5 +202,6 @@ int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, int nfc_tm_activated(struct nfc_dev *dev, u32 protocol, u8 comm_mode, u8 *gb, size_t gb_len); int nfc_tm_deactivated(struct nfc_dev *dev); +int nfc_tm_data_received(struct nfc_dev *dev, struct sk_buff *skb); #endif /* __NET_NFC_H */ |