amplc_dio200: Fix harmless typo in 8254 subdevice cleanup
authorIan Abbott <abbotti@mev.co.uk>
Tue, 17 Jan 2012 11:03:23 +0000 (11:03 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Tue, 17 Jan 2012 11:03:23 +0000 (11:03 +0000)
Correct type of 'subpriv' variable in dio200_subdev_8254_cleanup().

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/amplc_dio200.c

index fc960ef5962994af560226bcac064c74fc07d5c5..9df0afa8ec4b45b579abc5c59159f9e9040f7915 100644 (file)
@@ -1270,7 +1270,7 @@ dio200_subdev_8254_init(comedi_device * dev, comedi_subdevice * s,
 static void
 dio200_subdev_8254_cleanup(comedi_device * dev, comedi_subdevice * s)
 {
-       dio200_subdev_intr *subpriv = s->private;
+       dio200_subdev_8254 *subpriv = s->private;
 
        if (subpriv) {
                kfree(subpriv);