From: David Schleef Date: Fri, 8 Feb 2002 23:11:15 +0000 (+0000) Subject: Compilation fixes X-Git-Tag: r0_7_64~143 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a68497235c0e7fca8cbb0499ebfd934f68f8908;p=comedi.git Compilation fixes --- diff --git a/comedi/drivers/ni_daq_dio24.c b/comedi/drivers/ni_daq_dio24.c index a3d8eea5..4b5489bd 100644 --- a/comedi/drivers/ni_daq_dio24.c +++ b/comedi/drivers/ni_daq_dio24.c @@ -40,7 +40,7 @@ Status: ? #include #include #include -#include +#include #include #include #include @@ -88,7 +88,6 @@ static int dio24_detach(comedi_device *dev); static unsigned int dio24_inb(unsigned int address); static void dio24_outb(unsigned int byte, unsigned int address); -static int dio24_dio_mem_callback(int dir, int port, int data, void *arg); enum dio24_bustype {pcmcia_bustype}; @@ -202,7 +201,7 @@ static int dio24_attach(comedi_device *dev, comedi_devconfig *it) /* 8255 dio */ s = dev->subdevices + 0; - subdev_8255_init(dev, s, NULL, (void*)(dev->iobase)); + subdev_8255_init(dev, s, NULL, dev->iobase); return 0; }; @@ -801,8 +800,8 @@ static int dio24_event(event_t event, int priority, static int __init init_dio24_cs(void) { - printk("ni_daq_dio24: HOLA SOY YO!\n"); servinfo_t serv; + printk("ni_daq_dio24: HOLA SOY YO!\n"); DEBUG(0, "%s\n", version); CardServices(GetCardServicesInfo, &serv); if (serv.Revision != CS_RELEASE_CODE) {