From: H Hartley Sweeten Date: Mon, 5 Nov 2012 21:34:23 +0000 (-0700) Subject: staging: comedi: addi_apci_1032: separate from addi_common.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~606 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb8b1dfe6837ca300a36e7d5c5c9a272aefe5a6;p=pandora-kernel.git staging: comedi: addi_apci_1032: separate from addi_common.c The addi_apci_1032 driver is a simple digital input board with 32 optically isolated inputs. 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 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 Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed