sr: driver struct gets a more generic *priv instead of GSList *instances
It's up to the driver to keep its GSList of struct sr_dev_inst * in there. Anything else the driver wants to keep driver-global should also go in there, such as libusb_context.
This commit is contained in:
parent
ef2345bc29
commit
c259726a16
|
@ -500,7 +500,7 @@ struct sr_dev_driver {
|
|||
void *cb_data);
|
||||
|
||||
/* Dynamic */
|
||||
GSList *instances;
|
||||
void *priv;
|
||||
};
|
||||
|
||||
struct sr_session {
|
||||
|
|
Loading…
Reference in New Issue