staging: comedi: addi_common: remove i_IorangeBase0 from boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 10 Apr 2013 18:32:30 +0000 (11:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 19:54:36 +0000 (12:54 -0700)
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>
drivers/staging/comedi/drivers/addi-data/addi_common.h
drivers/staging/comedi/drivers/addi_apci_035.c
drivers/staging/comedi/drivers/addi_apci_1500.c
drivers/staging/comedi/drivers/addi_apci_1564.c
drivers/staging/comedi/drivers/addi_apci_3200.c
drivers/staging/comedi/drivers/addi_apci_3xxx.c

index 5ed61b9fbca7eb9162672b2b7fab880310e4a6dc..c034bf1426eb7da1b478a4a122673f98849fa93b 100644 (file)
@@ -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 */
index 2f4e2948a9f2494708c8d0e4056f87cdf6075ff5..43c2c10a7c3264fa044fbc468adeb6affdd48207 100644 (file)
@@ -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,
index a4495fb1a7924d8131dbbfc991b70017684f36a6..94876c6450e57bf178e658125a46ca5960344ed6 100644 (file)
@@ -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,
index 8de7b4875b0d5b3107c1a255698ec13cd0e713fa..22bace62210c11af825fe69333684a90dd1204de 100644 (file)
@@ -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,
index 7a960ac3d1eb4eb090c11b055096b12829ae9011..17b540d3c6aef4eba3c5d1387bf7741267a05ff2 100644 (file)
@@ -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,
@@ -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,
index 12875973f1180dc5583ec805290caab0337934ce..ec4d6ca6863f0570ba255c8bafca9b601fc52e4a 100644 (file)
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,
@@ -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,