aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/addi_apci_3200.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-10-29 16:51:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-30 10:47:32 -0700
commit3d41c44370a9a1e78e53c9997289347ec97d46ee (patch)
treeff1a448f15470e6c9eda7b995931bd2895c72e3f /drivers/staging/comedi/drivers/addi_apci_3200.c
parentstaging: comedi: addi_common: move module init code to EOF (diff)
downloadlinux-dev-3d41c44370a9a1e78e53c9997289347ec97d46ee.tar.xz
linux-dev-3d41c44370a9a1e78e53c9997289347ec97d46ee.zip
staging: comedi: addi-data: move the main #include's to the drivers
The addi-data drivers are all built by the main driver files including addi-data/addi_common.c. That file then includes other files depending on what driver is being compiled. This is makes the code quite messy and hard to follow. Start cleaning it up by removing the unneeded #include's in addi_common.c and moving the some of the comedi #include's into the individual driver files. This is the first step in getting rid of the #ifdef'ery in addi_common.c. 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>
Diffstat (limited to 'drivers/staging/comedi/drivers/addi_apci_3200.c')
-rw-r--r--drivers/staging/comedi/drivers/addi_apci_3200.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/comedi/drivers/addi_apci_3200.c b/drivers/staging/comedi/drivers/addi_apci_3200.c
index 159313997dcf..eb4056bf38fc 100644
--- a/drivers/staging/comedi/drivers/addi_apci_3200.c
+++ b/drivers/staging/comedi/drivers/addi_apci_3200.c
@@ -1,3 +1,11 @@
+#include <asm/i387.h>
+
+#include "../comedidev.h"
+#include "comedi_fc.h"
+
+#include "addi-data/addi_common.h"
+#include "addi-data/addi_amcc_s5933.h"
+
#define CONFIG_APCI_3200 1
#define ADDIDATA_DRIVER_NAME "addi_apci_3200"