X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fskeleton.c;h=352c4eabbe915a5d2b96124d9dba5ff5f1e7a0c1;hb=f7d2982d42e876d8814cba203570a45284c79658;hp=ad2698f68c85015427dbb4ad5fd47daa98a4d435;hpb=5013f07422b5a62386f68d1663011d5ba885f1ef;p=libsigrok.git diff --git a/hardware/common/skeleton.c b/hardware/common/skeleton.c index ad2698f6..352c4eab 100644 --- a/hardware/common/skeleton.c +++ b/hardware/common/skeleton.c @@ -19,7 +19,7 @@ #include -static int hw_init(char *deviceinfo) +static int hw_init(const char *deviceinfo) { } @@ -59,8 +59,9 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id) { } -struct device_plugin skeleton_plugin_info = { +struct sr_device_plugin skeleton_plugin_info = { "skeleton", + "Skeleton driver", 1, hw_init, hw_cleanup,