]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
demo: use driver-private storage for instances
[libsigrok.git] / libsigrok.h
index e7b988c4a60afc3fe5e35ed37c9c13e0390a5ac6..eda16c211eee4b723cb527a680ffe90b5ed6f885 100644 (file)
@@ -436,9 +436,6 @@ enum {
 
 /* Device info IDs */
 enum {
-       /* struct sr_dev_inst for this specific device */
-       /* TODO: obsolete */
-       SR_DI_INST,
        /* A list of options supported by the driver. */
        SR_DI_HWOPTS,
        /* A list of capabilities supported by the device. */
@@ -503,7 +500,7 @@ struct sr_dev_driver {
                        void *cb_data);
 
        /* Dynamic */
-       GSList *instances;
+       void *priv;
 };
 
 struct sr_session {