]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: addi_apci_16xx: separate from addi_common.c
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 18 Jan 2013 17:40:31 +0000 (10:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 20:57:21 +0000 (12:57 -0800)
commit368463328badaa5431416574d9a1f60de8ae04cf
tree1531e1305d06598178bf6c1e9fb2a9f64b596953
parent5b62fe2a03e9d25569c0fa0b81b96ac6f0c9b5fd
staging: comedi: addi_apci_16xx: separate from addi_common.c

This driver is for two simple ttl digital output boards. One with
48 channels the other with 96. Using the addi-data "common" code
introduces a lot of bloat.

Copy the code in addi_common.c to this driver and remove the #include
that caused addi_common.c to be compiled with this driver. This will
allow removing the bloat.

Rename the auto_attach and detach functions so they have namespace
associated with this driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_16xx.c