Commit cc6f3336 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: me4000: move struct me4000_info definition

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 523c5d8e
......@@ -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;
......
......@@ -204,17 +204,6 @@
#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
----------------------------------------------------------------------------*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment