added warning when not configured
authorDavid Schleef <ds@schleef.org>
Wed, 22 Mar 2000 19:33:54 +0000 (19:33 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 22 Mar 2000 19:33:54 +0000 (19:33 +0000)
comedi/drivers/8255.h

index 54795f05bd75e3620142c73964ca310951fb2f17..32b9ed06a4f6c778ce6c2a6d18d553250784fdaa 100644 (file)
@@ -34,6 +34,8 @@ int subdev_8255_init(comedi_device *dev,comedi_subdevice *s,int (*cb)(int,int,in
 
 static inline int subdev_8255_init(comedi_device *dev,comedi_subdevice *s,void *x,void *y)
 {
+       printk("8255 support not configured -- disabling subdevice\n");
+
        s->type=COMEDI_SUBD_UNUSED;
 
        return 0;