From c4a1de59f80efead2ebdd8109110ff8632c1838e Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sun, 22 Jul 2012 11:49:00 +0200 Subject: [PATCH] genericdmm: cosmetic change --- hardware/genericdmm/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.");