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: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
523c5d8e69
commit
cc6f3336fa
2 changed files with 7 additions and 11 deletions
|
@ -75,6 +75,13 @@ broken.
|
||||||
#define PCI_DEVICE_ID_MEILHAUS_ME4680S 0x4682
|
#define PCI_DEVICE_ID_MEILHAUS_ME4680S 0x4682
|
||||||
#define PCI_DEVICE_ID_MEILHAUS_ME4680IS 0x4683
|
#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 {
|
struct me4000_board {
|
||||||
const char *name;
|
const char *name;
|
||||||
unsigned short device_id;
|
unsigned short device_id;
|
||||||
|
|
|
@ -204,17 +204,6 @@
|
||||||
#define ME4000_DIO_CTRL_BIT_FIFO_HIGH_2 0x1000
|
#define ME4000_DIO_CTRL_BIT_FIFO_HIGH_2 0x1000
|
||||||
#define ME4000_DIO_CTRL_BIT_FIFO_HIGH_3 0x2000
|
#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
|
Defines for analog input
|
||||||
----------------------------------------------------------------------------*/
|
----------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue