]> sigrok.org Git - libsigrok.git/blobdiff - src/libsigrok-internal.h
Simplify channel creation.
[libsigrok.git] / src / libsigrok-internal.h
index 574497c11afa4d5a7bf1a76cead3e33724bde32a..e6f2dbe264f7d8a42d1fd1178c9ba13e05e6cada 100644 (file)
@@ -589,8 +589,8 @@ enum {
        SR_CHANNEL_SET_ENABLED = 1 << 0,
 };
 
-SR_PRIV struct sr_channel *sr_channel_new(int index, int type,
-               gboolean enabled, const char *name);
+SR_PRIV struct sr_channel *sr_channel_new(struct sr_dev_inst *sdi,
+               int index, int type, gboolean enabled, const char *name);
 
 /** Device instance data */
 struct sr_dev_inst {