-struct device_plugin zeroplus_logic_cube_plugin_info = {
- "zeroplus-logic-cube",
- "Zeroplus Logic Cube LAP-C series",
- 1,
- hw_init,
- hw_cleanup,
- hw_opendev,
- hw_closedev,
- hw_get_device_info,
- hw_get_status,
- hw_get_capabilities,
- hw_set_configuration,
- hw_start_acquisition,
- hw_stop_acquisition,
+struct sr_device_plugin zeroplus_logic_cube_plugin_info = {
+ .name = "zeroplus-logic-cube",
+ .longname = "Zeroplus Logic Cube LAP-C series",
+ .api_version = 1,
+ .init = hw_init,
+ .cleanup = hw_cleanup,
+ .opendev = hw_opendev,
+ .closedev = hw_closedev,
+ .get_device_info = hw_get_device_info,
+ .get_status = hw_get_status,
+ .get_capabilities = hw_get_capabilities,
+ .set_configuration = hw_set_configuration,
+ .start_acquisition = hw_start_acquisition,
+ .stop_acquisition = hw_stop_acquisition,