staging: comedi: me4000: move struct me4000_info definition
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:50:19 +0000 (17:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:54:43 +0000 (21:54 -0700)
Move the struct me4000_info definition from the header to the c
file. This struct is not used by any other 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>
drivers/staging/comedi/drivers/me4000.c
drivers/staging/comedi/drivers/me4000.h

index 4ba0835b137f31711dda58d688c562cacd374de6..6247ee3bc6f547f702a50a3dc66f9a80165b0642 100644 (file)
@@ -75,6 +75,13 @@ broken.
 #define PCI_DEVICE_ID_MEILHAUS_ME4680S 0x4682
 #define PCI_DEVICE_ID_MEILHAUS_ME4680IS        0x4683
 
+struct me4000_info {
+       unsigned long plx_regbase;
+       unsigned long timer_regbase;
+
+       unsigned int ao_readback[4];
+};
+
 struct me4000_board {
        const char *name;
        unsigned short device_id;
index 103a2a4a51c7da1f70559fdd847f9f3547695e68..2478933bdad2126928d1f23e4d75544bee59030e 100644 (file)
 #define ME4000_DIO_CTRL_BIT_FIFO_HIGH_2                0x1000
 #define ME4000_DIO_CTRL_BIT_FIFO_HIGH_3                0x2000
 
-/*=============================================================================
-  Global board and subdevice information structures
-  ===========================================================================*/
-
-struct me4000_info {
-       unsigned long plx_regbase;      /*  PLX configuration space base address */
-       unsigned long timer_regbase;    /*  Base address of the timer circuit */
-
-       unsigned int ao_readback[4];
-};
-
 /*-----------------------------------------------------------------------------
   Defines for analog input
  ----------------------------------------------------------------------------*/