From 1c31f91ce78070987b5dcd2a75a42536f21bf8b9 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 18 Oct 2007 21:50:25 +0000 Subject: [PATCH] Fix from Torben Mikael Hansen for crash probably caused by my recent porting work. --- AUTHORS | 1 + comedi/drivers/ni_labpc_cs.c | 2 ++ 2 files changed, 3 insertions(+) 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; -- 2.26.2