]> sigrok.org Git - libsigrok.git/blobdiff - hwdriver.c
Doxygen: Fix a few warnings.
[libsigrok.git] / hwdriver.c
index b8726e8c887e98568db01e4b893e27e620848f62..5fe571bfb79656905cf2ff7473ffe321c99d6baa 100644 (file)
@@ -355,7 +355,7 @@ SR_PRIV void sr_hw_cleanup_all(void)
        }
 }
 
-SR_PRIV struct sr_config *sr_config_make(int key, const void *value)
+SR_PRIV struct sr_config *sr_config_new(int key, const void *value)
 {
        struct sr_config *src;
 
@@ -454,7 +454,7 @@ SR_API int sr_config_list(const struct sr_dev_driver *driver, int key,
 /**
  * Get information about a configuration key.
  *
- * @param opt The configuration key.
+ * @param key The configuration key.
  *
  * @return A pointer to a struct sr_config_info, or NULL if the key
  *         was not found.