]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/nfc/s3fwrn5/s3fwrn5.h
nfc: s3fwrn5: constify s3fwrn5_phy_ops structures
[mirror_ubuntu-bionic-kernel.git] / drivers / nfc / s3fwrn5 / s3fwrn5.h
index 89210d4828b8733ad491e20048e8cc34b67a224b..7d5e516036fb28b1918df9db70fee66e90617bbc 100644 (file)
@@ -44,7 +44,7 @@ struct s3fwrn5_info {
        void *phy_id;
        struct device *pdev;
 
-       struct s3fwrn5_phy_ops *phy_ops;
+       const struct s3fwrn5_phy_ops *phy_ops;
        unsigned int max_payload;
 
        struct s3fwrn5_fw_info fw_info;
@@ -90,7 +90,7 @@ static inline int s3fwrn5_write(struct s3fwrn5_info *info, struct sk_buff *skb)
 }
 
 int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev,
-       struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload);
+       const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload);
 void s3fwrn5_remove(struct nci_dev *ndev);
 
 int s3fwrn5_recv_frame(struct nci_dev *ndev, struct sk_buff *skb,