nfc: constify nfc_phy_ops
[sfrench/cifs-2.6.git] / drivers / nfc / fdp / fdp.c
index 4d88a617d0e854c798e39e6b345a51724a5eb680..3e542b7389cb0bebca85065772b166a9cc955eb2 100644 (file)
@@ -38,7 +38,7 @@
 #define NCI_OP_PROP_SET_PDATA_OID              0x23
 
 struct fdp_nci_info {
-       struct nfc_phy_ops *phy_ops;
+       const struct nfc_phy_ops *phy_ops;
        struct fdp_i2c_phy *phy;
        struct nci_dev *ndev;
 
@@ -687,7 +687,7 @@ static const struct nci_ops nci_ops = {
        .n_core_ops = ARRAY_SIZE(fdp_core_ops),
 };
 
-int fdp_nci_probe(struct fdp_i2c_phy *phy, struct nfc_phy_ops *phy_ops,
+int fdp_nci_probe(struct fdp_i2c_phy *phy, const struct nfc_phy_ops *phy_ops,
                        struct nci_dev **ndevp, int tx_headroom,
                        int tx_tailroom, u8 clock_type, u32 clock_freq,
                        u8 *fw_vsc_cfg)