]> sigrok.org Git - sigrok-util.git/commitdiff
new-driver: Add missing "${lib}_" in api.c.
authorUwe Hermann <redacted>
Wed, 24 Oct 2012 10:14:02 +0000 (12:14 +0200)
committerUwe Hermann <redacted>
Wed, 24 Oct 2012 10:14:02 +0000 (12:14 +0200)
This fixes the build for the generated drivers.

source/drv-api.c

index 671149bd6fa4230d1d88de29632df177760540e6..dbeea02fc826207e771ed104d85f84228202362c 100644 (file)
@@ -22,7 +22,7 @@
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
-SR_PRIV struct sr_dev_driver driver_info;
+SR_PRIV struct sr_dev_driver ${lib}_driver_info;
 static struct sr_dev_driver *di = &${lib}_driver_info;
 
 /* Properly close and free all devices. */