nfc: microread: constify several pointers
[linux-2.6-microblaze.git] / drivers / nfc / microread / microread.c
index 8e84752..9d83cce 100644 (file)
@@ -358,7 +358,7 @@ static int microread_complete_target_discovered(struct nfc_hci_dev *hdev,
 static void microread_im_transceive_cb(void *context, struct sk_buff *skb,
                                       int err)
 {
-       struct microread_info *info = context;
+       const struct microread_info *info = context;
 
        switch (info->async_cb_type) {
        case MICROREAD_CB_TYPE_READER_ALL:
@@ -642,7 +642,7 @@ static const struct nfc_hci_ops microread_hci_ops = {
 };
 
 int microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
-                   char *llc_name, int phy_headroom, int phy_tailroom,
+                   const char *llc_name, int phy_headroom, int phy_tailroom,
                    int phy_payload, struct nfc_hci_dev **hdev)
 {
        struct microread_info *info;