]> Pileus Git - ~andy/linux/commitdiff
staging: comedi: me4000: move struct me4000_board definition
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:40:59 +0000 (17:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:45:27 +0000 (21:45 -0700)
Move the struct me4000_board definition from the header to the c file.
It's not used by any other source.

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>
drivers/staging/comedi/drivers/me4000.c
drivers/staging/comedi/drivers/me4000.h

index a3d91361acaf452731972a8cd43924b5fe0c549a..0eb39264d06d07d014abf782850eee10061df142 100644 (file)
@@ -64,6 +64,19 @@ broken.
 #include "me4000_fw.h"
 #endif
 
+struct me4000_board {
+       const char *name;
+       unsigned short device_id;
+       int ao_nchan;
+       int ao_fifo;
+       int ai_nchan;
+       int ai_diff_nchan;
+       int ai_sh_nchan;
+       int ex_trig_analog;
+       int dio_nchan;
+       int has_counter;
+};
+
 static const struct me4000_board me4000_boards[] = {
        {
                .name           = "ME-4650",
index b2cfecbcdf6a561c1ecadf04656fd1bed96136a2..6a92c15fc90acdb84e9725958a972d9fa96a2688 100644 (file)
 #define ME4000_DIO_CTRL_BIT_FIFO_HIGH_2                0x1000
 #define ME4000_DIO_CTRL_BIT_FIFO_HIGH_3                0x2000
 
-/*=============================================================================
-  Information about the hardware capabilities
-  ===========================================================================*/
-
-struct me4000_board {
-       const char *name;
-       unsigned short device_id;
-       int ao_nchan;
-       int ao_fifo;
-       int ai_nchan;
-       int ai_diff_nchan;
-       int ai_sh_nchan;
-       int ex_trig_analog;
-       int dio_nchan;
-       int has_counter;
-};
-
 /*=============================================================================
   Global board and subdevice information structures
   ===========================================================================*/