From: Frank Mori Hess Date: Thu, 18 Oct 2007 21:50:25 +0000 (+0000) Subject: Fix from Torben Mikael Hansen for crash probably X-Git-Tag: r0_7_75~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c31f91ce78070987b5dcd2a75a42536f21bf8b9;p=comedi.git Fix from Torben Mikael Hansen for crash probably caused by my recent porting work. --- diff --git a/AUTHORS b/AUTHORS index 392945bb..dc114a9f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,6 +15,7 @@ Truxton Fulton Jon Grierson Juan Grigera John Hallen +Torben Mikael Hansen Frank Mori Hess Michael Hillmann Janne Jalkanen diff --git a/comedi/drivers/ni_labpc_cs.c b/comedi/drivers/ni_labpc_cs.c index cc8e6329..7f24ed75 100644 --- a/comedi/drivers/ni_labpc_cs.c +++ b/comedi/drivers/ni_labpc_cs.c @@ -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;