Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354041
b: refs/heads/master
c: 235bee7
h: refs/heads/master
i:
  354039: e68a69c
v: v3
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Jan 18, 2013
1 parent 025b3a0 commit 1c889f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb798ccfa0653afe56dd85a48057c1222d19e0b8
refs/heads/master: 235bee772b0fa4cf059c669bcaa733da08b4894c
20 changes: 1 addition & 19 deletions trunk/drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,6 @@ static int ni_getboardtype(struct comedi_device *dev,
return 0;
}

#ifdef MODULE

static const struct pcmcia_device_id ni_mio_cs_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010d), /* DAQCard-ai-16xe-50 */
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010c), /* DAQCard-ai-16e-4 */
Expand All @@ -434,20 +432,4 @@ static struct pcmcia_driver ni_mio_cs_driver = {
.name = "ni_mio_cs",
};

int init_module(void)
{
pcmcia_register_driver(&ni_mio_cs_driver);
comedi_driver_register(&driver_ni_mio_cs);
return 0;
}

void cleanup_module(void)
{
pcmcia_unregister_driver(&ni_mio_cs_driver);
#if 0
while (cur_dev != NULL)
cs_detach(cur_dev->handle);
#endif
comedi_driver_unregister(&driver_ni_mio_cs);
}
#endif
module_comedi_pcmcia_driver(driver_ni_mio_cs, ni_mio_cs_driver);

0 comments on commit 1c889f3

Please sign in to comment.