]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/link-mso19.h
sr: remove unused argument from hardware driver function init()
[libsigrok.git] / hardware / link-mso19 / link-mso19.h
index 47a9af28be33ddbe4c575cc9085f32f0d25b6cee..53112bef320081aa43ea3794c81b875c8d1bdca6 100644 (file)
@@ -18,8 +18,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef SIGROK_LINK_MSO19_H
-#define SIGROK_LINK_MSO19_H
+#ifndef LIBSIGROK_HARDWARE_LINK_MSO19_LINK_MSO19_H
+#define LIBSIGROK_HARDWARE_LINK_MSO19_LINK_MSO19_H
 
 /* Structure for the pattern generator state */
 struct mso_patgen {
@@ -51,7 +51,7 @@ struct mso_prototrig {
        uint8_t spimode;
 };
 
-/* our private per-instance data */
+/* Private, per-device-instance driver context. */
 struct mso {
        /* info */
        uint8_t hwmodel;
@@ -78,7 +78,7 @@ struct mso {
        double dso_trigger_voltage;
        uint16_t dso_trigger_width;
        struct mso_prototrig protocol_trigger;
-       gpointer session_id;
+       void *session_dev_id;
        uint16_t buffer_n;
        char buffer[4096];
 };