From: H Hartley Sweeten Date: Fri, 2 Nov 2012 00:24:38 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: separate from addi_common.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~665 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb6986f022a0faaf959bb39153c07424ced87aab;p=pandora-kernel.git staging: comedi: addi_apci_3120: separate from addi_common.c The addi_apci_3120 driver is the only addi-data driver that supports dma. 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 allocating and freeing the dma buffers 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