diff options
| author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-06-06 07:16:40 -0400 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-06-08 18:34:21 -0400 |
| commit | c39daeee50eb0b95d3b91bda21b77955a459ee5f (patch) | |
| tree | 09d883175147e793d64d773aed29ab60fc6350d8 /include/net/nfc | |
| parent | 81859ab8779567af491fbf83ea628cdf09188d90 (diff) | |
NFC: nci: Add nci init ops for early device initialization
Some device may need to execute some proprietary commands
in order to "wake-up"; Before the nci state initialization.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc')
| -rw-r--r-- | include/net/nfc/nci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index c49688c09853..886854a4ea91 100644 --- a/include/net/nfc/nci_core.h +++ b/include/net/nfc/nci_core.h | |||
| @@ -73,6 +73,7 @@ struct nci_prop_ops { | |||
| 73 | }; | 73 | }; |
| 74 | 74 | ||
| 75 | struct nci_ops { | 75 | struct nci_ops { |
| 76 | int (*init)(struct nci_dev *ndev); | ||
| 76 | int (*open)(struct nci_dev *ndev); | 77 | int (*open)(struct nci_dev *ndev); |
| 77 | int (*close)(struct nci_dev *ndev); | 78 | int (*close)(struct nci_dev *ndev); |
| 78 | int (*send)(struct nci_dev *ndev, struct sk_buff *skb); | 79 | int (*send)(struct nci_dev *ndev, struct sk_buff *skb); |
