Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317692
b: refs/heads/master
c: 36061c8
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 6, 2012
1 parent 8a9e605 commit 29e67bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 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: 468777024e3f635c78cc7b0370f447978669431d
refs/heads/master: 36061c842be56f62bf77d7339bc4581a38e03846
11 changes: 9 additions & 2 deletions trunk/drivers/staging/comedi/drivers/das08_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,18 @@ static int __init das08_cs_init_module(void)
{
int ret;

ret = pcmcia_register_driver(&das08_cs_driver);
ret = comedi_driver_register(&driver_das08_cs);
if (ret < 0)
return ret;

return comedi_driver_register(&driver_das08_cs);
ret = pcmcia_register_driver(&das08_cs_driver);
if (ret < 0) {
comedi_driver_unregister(&driver_das08_cs);
return ret;
}

return 0;

}
module_init(das08_cs_init_module);

Expand Down

0 comments on commit 29e67bd

Please sign in to comment.