From ad612efeb85520c70a034d321a641bd8eef6c1bd Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 13 Jul 2000 14:40:54 +0000 Subject: [PATCH] CONFIG_KMOD check --- comedi/comedi_fops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index cc2abd22..ef4bc793 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -1430,7 +1430,9 @@ static int comedi_fop_open(struct inode *inode,struct file *file) in_comedi_open=1; sprintf(mod,"char-major-%i-%i",COMEDI_MAJOR,minor); +#ifdef CONFIG_KMOD request_module(mod); +#endif in_comedi_open=0; -- 2.26.2