Fix from Torben Mikael Hansen <comedi_ns@linhard.dk> for crash probably
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 18 Oct 2007 21:50:25 +0000 (21:50 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 18 Oct 2007 21:50:25 +0000 (21:50 +0000)
caused by my recent porting work.

AUTHORS
comedi/drivers/ni_labpc_cs.c

diff --git a/AUTHORS b/AUTHORS
index 392945bbea6ee3cf7e1335ca9fb695ed9dfbad25..dc114a9fc678cce6e3c681e49c450c8addadafce 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -15,6 +15,7 @@ Truxton Fulton <trux@truxton.com>
 Jon Grierson <jd@renko.co.uk>
 Juan Grigera <juan@grigera.com.ar>
 John Hallen
+Torben Mikael Hansen <comedi_ns@linhard.dk>
 Frank Mori Hess <fmhess@users.sourceforge.net>
 Michael Hillmann <hillmann@syscongroup.de>
 Janne Jalkanen <jalkanen@cs.hut.fi>
index cc8e6329b7bd5b651dc3b75000501397a945a6bc..7f24ed75f7cfe3f092bf0009b69eb76d7e0ef425 100644 (file)
@@ -231,6 +231,8 @@ static int labpc_cs_attach(struct pcmcia_device *link)
     link->conf.Attributes = 0;
     link->conf.IntType = INT_MEMORY_AND_IO;
 
+    pcmcia_cur_dev = link;
+
     labpc_config(link);
 
     return 0;