Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304708
b: refs/heads/master
c: 2396472
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed May 16, 2012
1 parent 8a43556 commit 44db32c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 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: cb4c516ca14efd9dd64caf6dd3ae7558f0d480e3
refs/heads/master: 2396472f2aed86884a446109c5b51a3702028339
30 changes: 7 additions & 23 deletions trunk/drivers/staging/comedi/drivers/ii_pci20kc.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,6 @@ struct pci20xxx_private {
#define devpriv ((struct pci20xxx_private *)dev->private)
#define CHAN (CR_CHAN(it->chanlist[0]))

static int pci20xxx_attach(struct comedi_device *dev,
struct comedi_devconfig *it);
static int pci20xxx_detach(struct comedi_device *dev);

static struct comedi_driver driver_pci20xxx = {
.driver_name = "ii_pci20kc",
.module = THIS_MODULE,
.attach = pci20xxx_attach,
.detach = pci20xxx_detach,
};

static int pci20006_init(struct comedi_device *dev, struct comedi_subdevice *s,
int opt0, int opt1);
static int pci20341_init(struct comedi_device *dev, struct comedi_subdevice *s,
Expand Down Expand Up @@ -666,18 +655,13 @@ static unsigned int pci20xxx_di(struct comedi_device *dev,
}
#endif

static int __init driver_pci20xxx_init_module(void)
{
return comedi_driver_register(&driver_pci20xxx);
}

static void __exit driver_pci20xxx_cleanup_module(void)
{
comedi_driver_unregister(&driver_pci20xxx);
}

module_init(driver_pci20xxx_init_module);
module_exit(driver_pci20xxx_cleanup_module);
static struct comedi_driver pci20xxx_driver = {
.driver_name = "ii_pci20kc",
.module = THIS_MODULE,
.attach = pci20xxx_attach,
.detach = pci20xxx_detach,
};
module_comedi_driver(pci20xxx_driver);

MODULE_AUTHOR("Comedi http://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver");
Expand Down

0 comments on commit 44db32c

Please sign in to comment.