diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-04 16:10:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:36:08 -0700 |
commit | 1a538dfd16a4aa3a57a4c792c928fe83b05aacf0 (patch) | |
tree | 8f6c422463aff02120262ad75ea9e44c82062be0 /drivers | |
parent | 08b93e7bda617a623ffae77940e4acfa31204367 (diff) | |
download | op-kernel-dev-1a538dfd16a4aa3a57a4c792c928fe83b05aacf0.zip op-kernel-dev-1a538dfd16a4aa3a57a4c792c928fe83b05aacf0.tar.gz |
Staging: comedi: hwdrv_apci035.h: fix sparse warnings
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.h b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.h index e0023c8..68db9c1 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.h +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.h @@ -19,22 +19,8 @@ #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), |