From: Uwe Hermann Date: Mon, 27 Feb 2012 22:26:05 +0000 (+0100) Subject: fx2lafw: Compile fix. X-Git-Tag: libsigrok-0.1.0~84 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=be4b99e897827b46c396a8c83cee0ce1c19d3afe;p=libsigrok.git fx2lafw: Compile fix. --- diff --git a/hardware/fx2lafw/fx2lafw.c b/hardware/fx2lafw/fx2lafw.c index bd4eebad..e99a6268 100644 --- a/hardware/fx2lafw/fx2lafw.c +++ b/hardware/fx2lafw/fx2lafw.c @@ -298,7 +298,7 @@ static int hw_init(const char *deviceinfo) ctx = fx2lafw_device_new(); ctx->profile = fx2lafw_prof; sdi->priv = ctx; - device_instances = g_slist_append(dev_insts, sdi); + dev_insts = g_slist_append(dev_insts, sdi); if (check_conf_profile(devlist[i])) { /* Already has the firmware, so fix the new address. */