Warning cleanup on 2.0.39
authorDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 08:40:19 +0000 (08:40 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 08:40:19 +0000 (08:40 +0000)
comedi/comedi_fops.c

index efe29e9eeb5cb04c9ccc0ee4f43568eee5699f26..6beb47711eb303bd0f6a4d43c2a5c66438a62bb9 100644 (file)
@@ -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,