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:
Bert Vermeulen 2012-07-30 00:22:26 +02:00
parent ef2345bc29
commit c259726a16
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ struct sr_dev_driver {
void *cb_data);
/* Dynamic */
GSList *instances;
void *priv;
};
struct sr_session {