Skip to content

Commit

Permalink
staging: comedi: addi_common: remove i_IorangeBase0 from boardinfo
Browse files Browse the repository at this point in the history
The i_IorangeBase0 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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent 728394d commit 5336217
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 31 deletions.
1 change: 0 additions & 1 deletion drivers/staging/comedi/drivers/addi-data/addi_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
/* structure for the boardtype */
struct addi_board {
const char *pc_DriverName; /* driver name */
int i_IorangeBase0;
int i_IorangeBase1;
int i_PCIEeprom; /* eeprom present or not */
char *pc_EepromChip; /* type of chip */
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/drivers/addi_apci_035.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
static const struct addi_board apci035_boardtypes[] = {
{
.pc_DriverName = "apci035",
.i_IorangeBase0 = 127,
.i_IorangeBase1 = APCI035_ADDRESS_RANGE,
.i_PCIEeprom = 1,
.pc_EepromChip = ADDIDATA_S5920,
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/drivers/addi_apci_1500.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
static const struct addi_board apci1500_boardtypes[] = {
{
.pc_DriverName = "apci1500",
.i_IorangeBase0 = 128,
.i_IorangeBase1 = APCI1500_ADDRESS_RANGE,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.i_NbrDiChannel = 16,
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/drivers/addi_apci_1564.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
static const struct addi_board apci1564_boardtypes[] = {
{
.pc_DriverName = "apci1564",
.i_IorangeBase0 = 128,
.i_IorangeBase1 = APCI1564_ADDRESS_RANGE,
.i_PCIEeprom = ADDIDATA_EEPROM,
.pc_EepromChip = ADDIDATA_93C76,
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/comedi/drivers/addi_apci_3200.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ enum apci3200_boardid {
static const struct addi_board apci3200_boardtypes[] = {
[BOARD_APCI3200] = {
.pc_DriverName = "apci3200",
.i_IorangeBase0 = 128,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_EEPROM,
.pc_EepromChip = ADDIDATA_S5920,
Expand All @@ -57,7 +56,6 @@ static const struct addi_board apci3200_boardtypes[] = {
},
[BOARD_APCI3300] = {
.pc_DriverName = "apci3300",
.i_IorangeBase0 = 128,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_EEPROM,
.pc_EepromChip = ADDIDATA_S5920,
Expand Down
25 changes: 0 additions & 25 deletions drivers/staging/comedi/drivers/addi_apci_3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ enum apci3xxx_boardid {
static const struct addi_board apci3xxx_boardtypes[] = {
[BOARD_APCI3000_16] = {
.pc_DriverName = "apci3000-16",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -64,7 +63,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3000_8] = {
.pc_DriverName = "apci3000-8",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -87,7 +85,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3000_4] = {
.pc_DriverName = "apci3000-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -110,7 +107,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3006_16] = {
.pc_DriverName = "apci3006-16",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -133,7 +129,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3006_8] = {
.pc_DriverName = "apci3006-8",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -156,7 +151,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3006_4] = {
.pc_DriverName = "apci3006-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -179,7 +173,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3010_16] = {
.pc_DriverName = "apci3010-16",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -207,7 +200,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3010_8] = {
.pc_DriverName = "apci3010-8",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -235,7 +227,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3010_4] = {
.pc_DriverName = "apci3010-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -263,7 +254,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3016_16] = {
.pc_DriverName = "apci3016-16",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -291,7 +281,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3016_8] = {
.pc_DriverName = "apci3016-8",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -319,7 +308,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3016_4] = {
.pc_DriverName = "apci3016-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -347,7 +335,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3100_16_4] = {
.pc_DriverName = "apci3100-16-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -374,7 +361,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3100_8_4] = {
.pc_DriverName = "apci3100-8-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -401,7 +387,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3106_16_4] = {
.pc_DriverName = "apci3106-16-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -428,7 +413,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3106_8_4] = {
.pc_DriverName = "apci3106-8-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -455,7 +439,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3110_16_4] = {
.pc_DriverName = "apci3110-16-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -487,7 +470,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3110_8_4] = {
.pc_DriverName = "apci3110-8-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -519,7 +501,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3116_16_4] = {
.pc_DriverName = "apci3116-16-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -551,7 +532,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3116_8_4] = {
.pc_DriverName = "apci3116-8-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down Expand Up @@ -583,7 +563,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3003] = {
.pc_DriverName = "apci3003",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -605,7 +584,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3002_16] = {
.pc_DriverName = "apci3002-16",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -627,7 +605,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3002_8] = {
.pc_DriverName = "apci3002-8",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -649,7 +626,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3002_4] = {
.pc_DriverName = "apci3002-4",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand All @@ -671,7 +647,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
},
[BOARD_APCI3500] = {
.pc_DriverName = "apci3500",
.i_IorangeBase0 = 256,
.i_IorangeBase1 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.pc_EepromChip = ADDIDATA_9054,
Expand Down

0 comments on commit 5336217

Please sign in to comment.