Browse Source

staging: comedi: addi_common: remove i_IorangeBase2 from boardinfo

The i_IorangeBase2 boardinfo is not used. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H Hartley Sweeten 12 years ago
parent
commit
728394d9d0

+ 0 - 1
drivers/staging/comedi/drivers/addi-data/addi_common.h

@@ -47,7 +47,6 @@ struct addi_board {
 	const char *pc_DriverName;	/*  driver name */
 	int i_IorangeBase0;
 	int i_IorangeBase1;
-	int i_IorangeBase2;	/*   base 2 range */
 	int i_PCIEeprom;	/*  eeprom present or not */
 	char *pc_EepromChip;	/*  type of chip */
 	int i_NbrAiChannel;	/*  num of A/D chans */

+ 0 - 1
drivers/staging/comedi/drivers/addi_apci_1500.c

@@ -15,7 +15,6 @@ static const struct addi_board apci1500_boardtypes[] = {
 		.pc_DriverName		= "apci1500",
 		.i_IorangeBase0		= 128,
 		.i_IorangeBase1		= APCI1500_ADDRESS_RANGE,
-		.i_IorangeBase2		= 4,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.i_NbrDiChannel		= 16,
 		.i_NbrDoChannel		= 16,

+ 0 - 2
drivers/staging/comedi/drivers/addi_apci_3200.c

@@ -32,7 +32,6 @@ static const struct addi_board apci3200_boardtypes[] = {
 		.pc_DriverName		= "apci3200",
 		.i_IorangeBase0		= 128,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 4,
 		.i_PCIEeprom		= ADDIDATA_EEPROM,
 		.pc_EepromChip		= ADDIDATA_S5920,
 		.i_NbrAiChannel		= 16,
@@ -60,7 +59,6 @@ static const struct addi_board apci3200_boardtypes[] = {
 		.pc_DriverName		= "apci3300",
 		.i_IorangeBase0		= 128,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 4,
 		.i_PCIEeprom		= ADDIDATA_EEPROM,
 		.pc_EepromChip		= ADDIDATA_S5920,
 		.i_NbrAiChannelDiff	= 8,

+ 0 - 25
drivers/staging/comedi/drivers/addi_apci_3xxx.c

@@ -43,7 +43,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3000-16",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -67,7 +66,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3000-8",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -91,7 +89,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3000-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 4,
@@ -115,7 +112,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3006-16",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -139,7 +135,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3006-8",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -163,7 +158,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3006-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 4,
@@ -187,7 +181,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3010-16",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -216,7 +209,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3010-8",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -245,7 +237,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3010-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 4,
@@ -274,7 +265,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3016-16",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -303,7 +293,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3016-8",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -332,7 +321,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3016-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 4,
@@ -361,7 +349,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3100-16-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -389,7 +376,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3100-8-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -417,7 +403,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3106-16-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -445,7 +430,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3106-8-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -473,7 +457,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3110-16-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -506,7 +489,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3110-8-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -539,7 +521,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3116-16-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 16,
@@ -572,7 +553,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3116-8-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannel		= 8,
@@ -605,7 +585,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3003",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannelDiff	= 4,
@@ -628,7 +607,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3002-16",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannelDiff	= 16,
@@ -651,7 +629,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3002-8",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannelDiff	= 8,
@@ -674,7 +651,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3002-4",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAiChannelDiff	= 4,
@@ -697,7 +673,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
 		.pc_DriverName		= "apci3500",
 		.i_IorangeBase0		= 256,
 		.i_IorangeBase1		= 256,
-		.i_IorangeBase2		= 256,
 		.i_PCIEeprom		= ADDIDATA_NO_EEPROM,
 		.pc_EepromChip		= ADDIDATA_9054,
 		.i_NbrAoChannel		= 4,