diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/nfc/nfc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h index 7273ff169bb8..313d00fac276 100644 --- a/include/net/nfc/nfc.h +++ b/include/net/nfc/nfc.h | |||
@@ -62,6 +62,7 @@ struct nfc_ops { | |||
62 | int (*data_exchange)(struct nfc_dev *dev, u32 target_idx, | 62 | int (*data_exchange)(struct nfc_dev *dev, u32 target_idx, |
63 | struct sk_buff *skb, data_exchange_cb_t cb, | 63 | struct sk_buff *skb, data_exchange_cb_t cb, |
64 | void *cb_context); | 64 | void *cb_context); |
65 | int (*check_presence)(struct nfc_dev *dev, u32 target_idx); | ||
65 | }; | 66 | }; |
66 | 67 | ||
67 | #define NFC_TARGET_IDX_ANY -1 | 68 | #define NFC_TARGET_IDX_ANY -1 |
@@ -107,6 +108,10 @@ struct nfc_dev { | |||
107 | int tx_headroom; | 108 | int tx_headroom; |
108 | int tx_tailroom; | 109 | int tx_tailroom; |
109 | 110 | ||
111 | struct timer_list check_pres_timer; | ||
112 | struct workqueue_struct *check_pres_wq; | ||
113 | struct work_struct check_pres_work; | ||
114 | |||
110 | struct nfc_ops *ops; | 115 | struct nfc_ops *ops; |
111 | }; | 116 | }; |
112 | #define to_nfc_dev(_dev) container_of(_dev, struct nfc_dev, dev) | 117 | #define to_nfc_dev(_dev) container_of(_dev, struct nfc_dev, dev) |