diff --git a/hardware/common/scpi_visa.c b/hardware/common/scpi_visa.c index 0bf6d2a0..2e7e26fd 100644 --- a/hardware/common/scpi_visa.c +++ b/hardware/common/scpi_visa.c @@ -31,11 +31,12 @@ struct scpi_visa { ViSession vi; }; -static int scpi_visa_dev_inst_new(void *priv, const char *resource, - char **params, const char *serialcomm) +static int scpi_visa_dev_inst_new(void *priv, struct drv_context *drvc, + const char *resource, char **params, const char *serialcomm) { struct scpi_visa *vscpi = priv; + (void)drvc; (void)resource; (void)serialcomm;