]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ftdi-la/api.c
Drop unnecessary struct sr_dev_driver forward declarations
[libsigrok.git] / src / hardware / ftdi-la / api.c
index 4d39cd8fac55e6325860dea201f751602d144534..ad58c501056b7c390bad3fe07c84ca9792ad3129 100644 (file)
@@ -24,8 +24,6 @@
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
-SR_PRIV struct sr_dev_driver ftdi_la_driver_info;
-
 static const uint32_t scanopts[] = {
        SR_CONF_CONN,
 };
@@ -148,7 +146,7 @@ static void scan_device(struct sr_dev_driver *di, struct libusb_device *dev, GSL
 
        /* Register the device with libsigrok. */
        sdi = g_malloc0(sizeof(struct sr_dev_inst));
-       sdi->status = SR_ST_INITIALIZING;
+       sdi->status = SR_ST_INACTIVE;
        sdi->vendor = vendor;
        sdi->model = model;
        sdi->serial_num = serial_num;