summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-10-29 21:07:47 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-30 21:44:48 +0400
commitfe559c022444b8335a6417eb31731b5124faf245 (patch)
treea1e5b6d042fe2e6be7329434edbd1a113fa5c893
parent37f97e500db829ad6216776a7f59a3173670477b (diff)
downloadlinux-fe559c022444b8335a6417eb31731b5124faf245.tar.xz
staging: comedi: rtd520: move #include's to top of file
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>
-rw-r--r--drivers/staging/comedi/drivers/rtd520.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c
index 6c694fba9977..e42bd6b1153c 100644
--- a/drivers/staging/comedi/drivers/rtd520.c
+++ b/drivers/staging/comedi/drivers/rtd520.c
@@ -107,6 +107,8 @@ Configuration options:
#include "../comedidev.h"
#include "comedi_fc.h"
+#include "rtd520.h"
+#include "plx9080.h"
/*======================================================================
Driver specific stuff (tunable)
@@ -155,9 +157,6 @@ Configuration options:
/* min speed when only 1 channel (no burst counter) */
#define RTD_MIN_SPEED_1 5000000 /* 200Hz, in nanoseconds */
-#include "rtd520.h"
-#include "plx9080.h"
-
/* Setup continuous ring of 1/2 FIFO transfers. See RTD manual p91 */
#define DMA_MODE_BITS (\
PLX_LOCAL_BUS_16_WIDE_BITS \