diff options
Diffstat (limited to 'include/net/nfc.h')
-rw-r--r-- | include/net/nfc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/nfc.h b/include/net/nfc.h index 87b51fe15b70..6a7f602aa841 100644 --- a/include/net/nfc.h +++ b/include/net/nfc.h | |||
@@ -48,6 +48,8 @@ typedef void (*data_exchange_cb_t)(void *context, struct sk_buff *skb, | |||
48 | int err); | 48 | int err); |
49 | 49 | ||
50 | struct nfc_ops { | 50 | struct nfc_ops { |
51 | int (*dev_up)(struct nfc_dev *dev); | ||
52 | int (*dev_down)(struct nfc_dev *dev); | ||
51 | int (*start_poll)(struct nfc_dev *dev, u32 protocols); | 53 | int (*start_poll)(struct nfc_dev *dev, u32 protocols); |
52 | void (*stop_poll)(struct nfc_dev *dev); | 54 | void (*stop_poll)(struct nfc_dev *dev); |
53 | int (*activate_target)(struct nfc_dev *dev, u32 target_idx, | 55 | int (*activate_target)(struct nfc_dev *dev, u32 target_idx, |
@@ -78,7 +80,9 @@ struct nfc_dev { | |||
78 | int targets_generation; | 80 | int targets_generation; |
79 | spinlock_t targets_lock; | 81 | spinlock_t targets_lock; |
80 | struct device dev; | 82 | struct device dev; |
83 | bool dev_up; | ||
81 | bool polling; | 84 | bool polling; |
85 | bool remote_activated; | ||
82 | struct nfc_genl_data genl_data; | 86 | struct nfc_genl_data genl_data; |
83 | u32 supported_protocols; | 87 | u32 supported_protocols; |
84 | 88 | ||