]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.h
fx2lafw: Made fx2lafw profiles const
[libsigrok.git] / hardware / fx2lafw / fx2lafw.h
index bbdaf33eca53ababf1e5a47d112ca2740e5872cc..a2e6bcfbbe6d5ac0cb3b31d26d3b48fc46698219 100644 (file)
@@ -33,15 +33,15 @@ struct fx2lafw_profile {
        uint16_t vid;
        uint16_t pid;
 
-       char *vendor;
-       char *model;
-       char *model_version;
+       const char *vendor;
+       const char *model;
+       const char *model_version;
 
        int num_probes;
 };
 
 struct context {
-       struct fx2lafw_profile *profile;
+       const struct fx2lafw_profile *profile;
 
        /*
         * Since we can't keep track of an fx2lafw device after upgrading