NFC: nci: rename nci_prop_ops to nci_driver_ops

Initially it was used to create hooks in the driver for
proprietary operations. Currently it is being used for hooks
for both proprietary and generic operations.

Signed-off-by: Robert Dolca <robert.dolca@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Robert Dolca
2015-10-22 12:11:39 +03:00
committed by Samuel Ortiz
parent 0a97a3cba2
commit 22e4bd09c4
5 changed files with 15 additions and 15 deletions

View File

@@ -67,7 +67,7 @@ enum nci_state {
struct nci_dev;
struct nci_prop_ops {
struct nci_driver_ops {
__u16 opcode;
int (*rsp)(struct nci_dev *dev, struct sk_buff *skb);
int (*ntf)(struct nci_dev *dev, struct sk_buff *skb);
@@ -94,10 +94,10 @@ struct nci_ops {
void (*hci_cmd_received)(struct nci_dev *ndev, u8 pipe, u8 cmd,
struct sk_buff *skb);
struct nci_prop_ops *prop_ops;
struct nci_driver_ops *prop_ops;
size_t n_prop_ops;
struct nci_prop_ops *core_ops;
struct nci_driver_ops *core_ops;
size_t n_core_ops;
};