]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoder.c
srd: Drop ebr30a_i2c_demux in favor of i2cdemux.
[libsigrokdecode.git] / decoder.c
index d7780d5b8e5d0d6fe086a27ce363c7011e4d1a9e..0aa1c5f8474a11b105983dd36eaf58c65c09d291 100644 (file)
--- a/decoder.c
+++ b/decoder.c
@@ -62,7 +62,8 @@ SRD_API struct srd_decoder *srd_decoder_get_by_id(const char *id)
        return NULL;
 }
 
-static int get_probes(struct srd_decoder *d, char *attr, GSList **pl)
+static int get_probes(const struct srd_decoder *d, const char *attr,
+                     GSList **pl)
 {
        PyObject *py_probelist, *py_entry;
        struct srd_probe *p;