Skip to content

Commit

Permalink
staging: comedi: me4000: move struct me4000_info definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 8, 2012
1 parent 523c5d8 commit cc6f333
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
7 changes: 7 additions & 0 deletions drivers/staging/comedi/drivers/me4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
11 changes: 0 additions & 11 deletions drivers/staging/comedi/drivers/me4000.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------------------------------------------------------------------*/
Expand Down

0 comments on commit cc6f333

Please sign in to comment.