X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fchronovu-la8%2Fdriver.h;h=39e360b60c4548da3e17e715e9f9570427ab9705;hb=c46762a285d7c844a771f5c1f0ad2447a00906b3;hp=14f8b4153fcea1313d2538088129d06814a5f64f;hpb=1644fb2473e0c2f0dd81464f885c9212f413657e;p=libsigrok.git diff --git a/hardware/chronovu-la8/driver.h b/hardware/chronovu-la8/driver.h index 14f8b415..39e360b6 100644 --- a/hardware/chronovu-la8/driver.h +++ b/hardware/chronovu-la8/driver.h @@ -41,11 +41,6 @@ #define BS 4096 /* Block size */ #define NUM_BLOCKS 2048 /* Number of blocks */ -/* Private driver context. */ -struct drv_context { - GSList *instances; -}; - /* Private, per-device-instance driver context. */ struct dev_context { /** FTDI device context (used by libftdi). */ @@ -120,7 +115,7 @@ SR_PRIV int la8_read(struct dev_context *devc, uint8_t *buf, int size); SR_PRIV int la8_close(struct dev_context *devc); SR_PRIV int la8_close_usb_reset_sequencer(struct dev_context *devc); SR_PRIV int la8_reset(struct dev_context *devc); -SR_PRIV int configure_probes(struct dev_context *devc, const GSList *probes); +SR_PRIV int configure_probes(const struct sr_dev_inst *sdi); SR_PRIV int set_samplerate(const struct sr_dev_inst *sdi, uint64_t samplerate); SR_PRIV int la8_read_block(struct dev_context *devc); SR_PRIV void send_block_to_session_bus(struct dev_context *devc, int block);