From: David Schleef Date: Thu, 21 Nov 2002 08:40:19 +0000 (+0000) Subject: Warning cleanup on 2.0.39 X-Git-Tag: r0_7_66~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=657d05df2fbc15d0f94d329ed895c3ef317b237c;p=comedi.git Warning cleanup on 2.0.39 --- 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,