|
@@ -68,7 +68,7 @@ struct nxp_nci_info {
|
|
|
|
|
|
enum nxp_nci_mode mode;
|
|
enum nxp_nci_mode mode;
|
|
|
|
|
|
- struct nxp_nci_phy_ops *phy_ops;
|
|
|
|
|
|
+ const struct nxp_nci_phy_ops *phy_ops;
|
|
unsigned int max_payload;
|
|
unsigned int max_payload;
|
|
|
|
|
|
struct mutex info_lock;
|
|
struct mutex info_lock;
|
|
@@ -82,7 +82,8 @@ void nxp_nci_fw_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
|
|
void nxp_nci_fw_work_complete(struct nxp_nci_info *info, int result);
|
|
void nxp_nci_fw_work_complete(struct nxp_nci_info *info, int result);
|
|
|
|
|
|
int nxp_nci_probe(void *phy_id, struct device *pdev,
|
|
int nxp_nci_probe(void *phy_id, struct device *pdev,
|
|
- struct nxp_nci_phy_ops *phy_ops, unsigned int max_payload,
|
|
|
|
|
|
+ const struct nxp_nci_phy_ops *phy_ops,
|
|
|
|
+ unsigned int max_payload,
|
|
struct nci_dev **ndev);
|
|
struct nci_dev **ndev);
|
|
void nxp_nci_remove(struct nci_dev *ndev);
|
|
void nxp_nci_remove(struct nci_dev *ndev);
|
|
|
|
|