]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/atten-pps3xxx/protocol.h
Constify a few arrays and variables.
[libsigrok.git] / src / hardware / atten-pps3xxx / protocol.h
index 36ee281a8e2e63bfa32d1af73f20117ca9e3dcd6..01983d3bdf2cbac3cd7984709902b47096971103 100644 (file)
@@ -74,7 +74,7 @@ struct per_channel_config {
 /** Private, per-device-instance driver context. */
 struct dev_context {
        /* Model-specific information */
-       struct pps_model *model;
+       const struct pps_model *model;
 
        /* Acquisition state */
        gboolean acquisition_running;