projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c858502
)
added warning when not configured
author
David Schleef
<ds@schleef.org>
Wed, 22 Mar 2000 19:33:54 +0000
(19:33 +0000)
committer
David Schleef
<ds@schleef.org>
Wed, 22 Mar 2000 19:33:54 +0000
(19:33 +0000)
comedi/drivers/8255.h
patch
|
blob
|
history
diff --git
a/comedi/drivers/8255.h
b/comedi/drivers/8255.h
index 54795f05bd75e3620142c73964ca310951fb2f17..32b9ed06a4f6c778ce6c2a6d18d553250784fdaa 100644
(file)
--- a/
comedi/drivers/8255.h
+++ b/
comedi/drivers/8255.h
@@
-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;