summaryrefslogtreecommitdiffstats
path: root/drivers/comedi/drivers/comedi_8255.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/comedi/drivers/comedi_8255.c')
-rw-r--r--drivers/comedi/drivers/comedi_8255.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/comedi/drivers/comedi_8255.c b/drivers/comedi/drivers/comedi_8255.c
index e4974b5083..a933ef5384 100644
--- a/drivers/comedi/drivers/comedi_8255.c
+++ b/drivers/comedi/drivers/comedi_8255.c
@@ -159,6 +159,7 @@ static int __subdev_8255_init(struct comedi_device *dev,
return -ENOMEM;
spriv->context = context;
+ spriv->io = io;
s->type = COMEDI_SUBD_DIO;
s->subdev_flags = SDF_READABLE | SDF_WRITABLE;