Staging: comedi: hwdrv_apci035.h: fix sparse warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 May 2010 23:10:36 +0000 (16:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:08 +0000 (11:36 -0700)
This let us delete two variables and mark one as static.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.h

index e0023c8cb628ada7e7a2edd0f11d39116231c75d..68db9c10c99ed5e512618c98cdac5e2887d3b6f3 100644 (file)
 #define APCI035_BOARD_VENDOR_ID                0x15B8
 #define APCI035_ADDRESS_RANGE          255
 
-int i_TW_Number;
-struct {
-       int i_Gain;
-       int i_Polarity;
-       int i_OffsetRange;
-       int i_Coupling;
-       int i_SingleDiff;
-       int i_AutoCalibration;
-       unsigned int ui_ReloadValue;
-       unsigned int ui_TimeUnitReloadVal;
-       int i_Interrupt;
-       int i_ModuleSelection;
-} Config_Parameters_Main;
-
 /* ANALOG INPUT RANGE */
-struct comedi_lrange range_apci035_ai = { 8, {
+static struct comedi_lrange range_apci035_ai = { 8, {
                                       BIP_RANGE(10),
                                       BIP_RANGE(5),
                                       BIP_RANGE(2),