From: Frank Mori Hess Date: Mon, 5 Mar 2001 21:12:10 +0000 (+0000) Subject: fixed problem with segfault on rmmod when you load mite with no supported cards insta... X-Git-Tag: r0_7_58~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fc99137f7de084e0d730c782d44b4f7816c1eb66;p=comedi.git fixed problem with segfault on rmmod when you load mite with no supported cards installed in your computer --- diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index a5b1d407..3c8d15ff 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -68,7 +68,7 @@ #define PCI_DAQ_SIZE 4096 -struct mite_struct *mite_devices; +struct mite_struct *mite_devices = NULL;