From 657d05df2fbc15d0f94d329ed895c3ef317b237c Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 21 Nov 2002 08:40:19 +0000 Subject: [PATCH] Warning cleanup on 2.0.39 --- comedi/comedi_fops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index efe29e9e..6beb4771 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -80,7 +80,9 @@ static int do_poll_ioctl(comedi_device *dev,unsigned int subd,void *file); void do_become_nonbusy(comedi_device *dev,comedi_subdevice *s); static int do_cancel(comedi_device *dev,comedi_subdevice *s); +#if LINUX_VERSION_CODE >= 0x020100 static int comedi_fasync (int fd, struct file *file, int on); +#endif static void init_async_buf( comedi_async *async ); static int comedi_ioctl(struct inode * inode,struct file * file, -- 2.26.2