From: H Hartley Sweeten Date: Thu, 1 Nov 2012 18:08:37 +0000 (-0700) Subject: staging: comedi: addi_apci_1710: separate from addi_common.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~685 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10db292fb43045881135fa7f8457e9399108a985;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed