X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhwdriver.c;h=5790e320564fc5d8017d17f601f1be6581b4ea56;hb=8141a0325c2d31a37ecaeef6532d932112700f01;hp=0aa7eb8c0f0517bf44dee0c30c964bdc679fcfe9;hpb=cffdc3e63b132795bfcaab91864c1c6b124e87fa;p=libsigrok.git diff --git a/src/hwdriver.c b/src/hwdriver.c index 0aa7eb8c..5790e320 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -391,7 +391,7 @@ SR_API int sr_driver_init(struct sr_context *ctx, struct sr_dev_driver *driver) /** * Enumerate scan options supported by this driver. * - * Before calling sr_driver_scan_options(), the user must have previously + * Before calling sr_driver_scan_options_list(), the user must have previously * initialized the driver by calling sr_driver_init(). * * @param driver The driver to enumerate options for. This must be a pointer @@ -404,7 +404,7 @@ SR_API int sr_driver_init(struct sr_context *ctx, struct sr_dev_driver *driver) * * @since 0.4.0 */ -SR_API GArray *sr_driver_scan_options(const struct sr_dev_driver *driver) +SR_API GArray *sr_driver_scan_options_list(const struct sr_dev_driver *driver) { GVariant *gvar; const uint32_t *opts;