Remove comedi_done and friends
authorDavid Schleef <ds@schleef.org>
Tue, 15 Jan 2002 12:03:39 +0000 (12:03 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 15 Jan 2002 12:03:39 +0000 (12:03 +0000)
comedi/comedi_fops.c
comedi/comedi_ksyms.c

index c53ff45d09c83c7c0a46154e776a6a935cd5a723..a1c2ef492491ef7508d31c37af6979341334aa58 100644 (file)
@@ -1774,9 +1774,6 @@ static int __init comedi_init(void)
                comedi_devices[i].minor=i;
                spin_lock_init(&(comedi_devices[i].spinlock));
        }
-#if 0
-       init_polling();
-#endif
 
        /* XXX requires /proc interface */
        comedi_proc_init();
@@ -1796,9 +1793,7 @@ static void __exit comedi_cleanup(void)
        unregister_chrdev(COMEDI_MAJOR,"comedi");
 
        comedi_proc_cleanup();
-#if 0
-       comedi_polling_cleanup();
-#endif
+
        for(i=0;i<COMEDI_NDEVICES;i++){
                comedi_device *dev;
 
@@ -1869,6 +1864,7 @@ void comedi_event(comedi_device *dev,comedi_subdevice *s,unsigned int mask)
        }
 }
 
+#if 0
 /*
    this function should be called by your interrupt routine
    at the end of acquisition
@@ -1913,5 +1909,6 @@ void comedi_eobuf(comedi_device *dev,comedi_subdevice *s)
 {
        comedi_event(dev,s,COMEDI_CB_EOBUF);
 }
+#endif
 
 
index d1f81760dd4cae32c199c4040770cdc7a4397daa..7410f07a31dfb0d55dc7d3522f34be18bf8ef2f9 100644 (file)
@@ -38,12 +38,12 @@ EXPORT_SYMBOL(comedi_driver_register);
 EXPORT_SYMBOL(comedi_driver_unregister);
 EXPORT_SYMBOL(comedi_allocate_dev);
 EXPORT_SYMBOL(comedi_deallocate_dev);
-EXPORT_SYMBOL(comedi_bufcheck);
-EXPORT_SYMBOL(comedi_done);
-EXPORT_SYMBOL(comedi_error_done);
+//EXPORT_SYMBOL(comedi_bufcheck);
+//EXPORT_SYMBOL(comedi_done);
+//EXPORT_SYMBOL(comedi_error_done);
 EXPORT_SYMBOL(comedi_error);
-EXPORT_SYMBOL(comedi_eobuf);
-EXPORT_SYMBOL(comedi_eos);
+//EXPORT_SYMBOL(comedi_eobuf);
+//EXPORT_SYMBOL(comedi_eos);
 EXPORT_SYMBOL(comedi_event);
 EXPORT_SYMBOL(range_bipolar10);
 EXPORT_SYMBOL(range_bipolar5);