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 5ed61b9..c034bf1 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 2f4e294..43c2c10 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 a4495fb..94876c6 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 8de7b48..22bace6 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 7a960ac..17b540d 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 1287597..ec4d6ca 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,