X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=parsers.c;h=4430b90daa1f631b1aa384d285eac29c941fd336;hp=d6642b351e47372e705bfa883f84d45a6079a3c3;hb=fa7827c587a00a6aebc736bee34380abc7efc525;hpb=96e7e071c6ebe939166c1fc7c11e9f5528ef4288 diff --git a/parsers.c b/parsers.c index d6642b3..4430b90 100644 --- a/parsers.c +++ b/parsers.c @@ -164,12 +164,12 @@ struct sr_device *parse_devicestring(const char *devicestring) * no need to let them all scan */ device = NULL; - plugins = sr_list_hwplugins(); + plugins = sr_hw_list(); for (p = plugins; p; p = p->next) { plugin = p->data; if (strcmp(plugin->name, devicestring)) continue; - num_devices = sr_init_hwplugin(plugin); + num_devices = sr_hw_init(plugin); if (num_devices == 1) { devices = sr_dev_list(); device = devices->data;