]> Pileus Git - ~andy/linux/commit
staging: comedi: addi_apci_1710: separate from addi_common.c
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 1 Nov 2012 18:08:37 +0000 (11:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 19:34:25 +0000 (12:34 -0700)
commit10db292fb43045881135fa7f8457e9399108a985
tree468d9fbd817402f11503520cd9f7ed397bba2090
parent50a24814958ff9cba0e74bfa900bfac698c2ce23
staging: comedi: addi_apci_1710: separate from addi_common.c

This addi-data driver uses a private function to initialize all
the subdevices during the attach of the board.

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 special handling for the apci1710 board in the
common code.

Rename the attach_pci 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_1710.c