]> sigrok.org Git - libsigrok.git/commitdiff
brymen-bm86x: rename specific Brymen BM86x driver (libusb implementation)
authorGerhard Sittig <redacted>
Sun, 9 Jun 2019 08:15:37 +0000 (10:15 +0200)
committerGerhard Sittig <redacted>
Thu, 13 Jun 2019 17:22:02 +0000 (19:22 +0200)
The src/hardware/brymen-bm86x/ source code contains specific support for
the Brymen BM86x devices, and directly depends on the libusb library.
Rename the registered device (append the "-usb" suffix) before adding
BM86x support to the serial-dmm driver.

src/hardware/brymen-bm86x/api.c

index f7d9d23fe2254069c31236cdf29ed27dae6a4357..a6c45e3a02a0b6edc9f7c8446f10c73ba070cc70 100644 (file)
@@ -200,7 +200,7 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi)
 }
 
 static struct sr_dev_driver brymen_bm86x_driver_info = {
-       .name = "brymen-bm86x",
+       .name = "brymen-bm86x-usb",
        .longname = "Brymen BM86X",
        .api_version = 1,
        .init = std_init,