From: Bert Vermeulen Date: Sun, 22 Jul 2012 09:49:00 +0000 (+0200) Subject: genericdmm: cosmetic change X-Git-Tag: dsupstream~781 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c4a1de59f80efead2ebdd8109110ff8632c1838e;p=libsigrok.git genericdmm: cosmetic change --- diff --git a/hardware/genericdmm/api.c b/hardware/genericdmm/api.c index e4de064d..70d49b11 100644 --- a/hardware/genericdmm/api.c +++ b/hardware/genericdmm/api.c @@ -426,12 +426,12 @@ static int hw_cleanup(void) return SR_OK; } -static int hw_info_get(int dev_info_id, const void **data, +static int hw_info_get(int info_id, const void **data, const struct sr_dev_inst *sdi) { struct context *ctx; - switch (dev_info_id) { + switch (info_id) { case SR_DI_INST: *data = sdi; sr_spew("genericdmm: Returning sdi.");