Skip to content

Commit

Permalink
staging: comedi: addi_common: remove i_IorangeBase2 from boardinfo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent dcc8adb commit 728394d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 29 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 @@ -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 */
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 @@ -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,
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 @@ -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,
Expand Down Expand Up @@ -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,
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 @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 728394d

Please sign in to comment.