Commit 4c99d46f authored by Federico Vaga's avatar Federico Vaga

lib: assign internal attribute dev_id

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 55f42dbd
...@@ -91,6 +91,7 @@ struct adc_dev *adc_zio_open(const struct adc_board_type *b, ...@@ -91,6 +91,7 @@ struct adc_dev *adc_zio_open(const struct adc_board_type *b,
fa->devbase = devpath; fa->devbase = devpath;
fa->cset = cset; fa->cset = cset;
fa->chan = chan; fa->chan = chan;
fa->dev_id = dev_id;
/* Open char devices */ /* Open char devices */
if (chan == ~0) { if (chan == ~0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment