]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.c
sr: Made the dev_info_get return value const
[libsigrok.git] / hardware / fx2lafw / fx2lafw.c
index ccaf7d0d97bf4157f5e6ca991b31bf64c63c498f..38f3d14d49656e9388cff9d28e668f1dda493277 100644 (file)
@@ -546,7 +546,7 @@ static int hw_cleanup(void)
        return ret;
 }
 
-static void *hw_dev_info_get(int dev_index, int dev_info_id)
+static const void *hw_dev_info_get(int dev_index, int dev_info_id)
 {
        struct sr_dev_inst *sdi;
        struct context *ctx;