--- comedi/drivers/ni_labpc_cs.c	2007-10-16 04:09:09.000000000 +0200
+++ /home/rpmbuild/ni_labpc_cs.c	2007-10-17 16:34:32.000000000 +0200
@@ -232,6 +234,8 @@
     link->conf.Attributes = 0;
     link->conf.IntType = INT_MEMORY_AND_IO;
 
+    pcmcia_cur_dev=link;
+
     labpc_config(link);
 
     return 0;

 

