- static bool compare_devices(const sr_dev_inst *const a,
- const sr_dev_inst *const b);
+ void release_driver(struct sr_dev_driver *const driver);
+
+ static bool compare_devices(std::shared_ptr<device::Device> a,
+ std::shared_ptr<device::Device> b);