]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: Made string pointers constant
authorJoel Holdsworth <redacted>
Mon, 12 Mar 2012 21:04:53 +0000 (21:04 +0000)
committerJoel Holdsworth <redacted>
Mon, 12 Mar 2012 21:39:02 +0000 (21:39 +0000)
hardware/fx2lafw/fx2lafw.h

index bbdaf33eca53ababf1e5a47d112ca2740e5872cc..fccd0232f5b59a6291cbfe51b1e2b2c1ff669a5e 100644 (file)
@@ -33,9 +33,9 @@ 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;
 };