]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.h
fx2lafw: Made fx2lafw profiles const
[libsigrok.git] / hardware / fx2lafw / fx2lafw.h
index fccd0232f5b59a6291cbfe51b1e2b2c1ff669a5e..a2e6bcfbbe6d5ac0cb3b31d26d3b48fc46698219 100644 (file)
@@ -41,7 +41,7 @@ struct fx2lafw_profile {
 };
 
 struct context {
-       struct fx2lafw_profile *profile;
+       const struct fx2lafw_profile *profile;
 
        /*
         * Since we can't keep track of an fx2lafw device after upgrading