mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
0a97a3cba2
commit
22e4bd09c4
5 changed files with 15 additions and 15 deletions
|
|
@ -31,7 +31,7 @@ static int s3fwrn5_nci_prop_rsp(struct nci_dev *ndev, struct sk_buff *skb)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct nci_prop_ops s3fwrn5_nci_prop_ops[] = {
|
||||
static struct nci_driver_ops s3fwrn5_nci_prop_ops[] = {
|
||||
{
|
||||
.opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
|
||||
NCI_PROP_AGAIN),
|
||||
|
|
@ -79,7 +79,7 @@ static struct nci_prop_ops s3fwrn5_nci_prop_ops[] = {
|
|||
},
|
||||
};
|
||||
|
||||
void s3fwrn5_nci_get_prop_ops(struct nci_prop_ops **ops, size_t *n)
|
||||
void s3fwrn5_nci_get_prop_ops(struct nci_driver_ops **ops, size_t *n)
|
||||
{
|
||||
*ops = s3fwrn5_nci_prop_ops;
|
||||
*n = ARRAY_SIZE(s3fwrn5_nci_prop_ops);
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ struct nci_prop_fw_cfg_rsp {
|
|||
|
||||
#define NCI_PROP_WR_RESET 0x2f
|
||||
|
||||
void s3fwrn5_nci_get_prop_ops(struct nci_prop_ops **ops, size_t *n);
|
||||
void s3fwrn5_nci_get_prop_ops(struct nci_driver_ops **ops, size_t *n);
|
||||
int s3fwrn5_nci_rf_configure(struct s3fwrn5_info *info, const char *fw_name);
|
||||
|
||||
#endif /* __LOCAL_S3FWRN5_NCI_H_ */
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ static int st_nci_prop_rsp_packet(struct nci_dev *ndev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct nci_prop_ops st_nci_prop_ops[] = {
|
||||
static struct nci_driver_ops st_nci_prop_ops[] = {
|
||||
{
|
||||
.opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
|
||||
ST_NCI_CORE_PROP),
|
||||
|
|
|
|||
Loading…
Reference in a new issue