staging: comedi: addi_apci_1516: remove unnecessary info from boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 13 Nov 2012 20:41:57 +0000 (13:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 23:12:47 +0000 (15:12 -0800)
The i_IorangeBase[012], i_PCIEeprom, and pc_EepromChip data in the
boardinfo was only needed to work out the usage of the PCI bars.
This is no longer needed so remove the data.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1516.c

index 5d114864b85e764c8d101cc0fbf861402eb9db6b..6c61f3dc5cb9b39b340896f098d2145a978f5d87 100644 (file)
@@ -10,21 +10,11 @@ static const struct addi_board apci1516_boardtypes[] = {
                .pc_DriverName          = "apci1016",
                .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
                .i_DeviceId             = 0x1000,
-               .i_IorangeBase0         = 128,
-               .i_IorangeBase1         = APCI1516_ADDRESS_RANGE,
-               .i_IorangeBase2         = 32,
-               .i_PCIEeprom            = ADDIDATA_EEPROM,
-               .pc_EepromChip          = ADDIDATA_S5920,
                .i_NbrDiChannel         = 16,
        }, {
                .pc_DriverName          = "apci1516",
                .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
                .i_DeviceId             = 0x1001,
-               .i_IorangeBase0         = 128,
-               .i_IorangeBase1         = APCI1516_ADDRESS_RANGE,
-               .i_IorangeBase2         = 32,
-               .i_PCIEeprom            = ADDIDATA_EEPROM,
-               .pc_EepromChip          = ADDIDATA_S5920,
                .i_NbrDiChannel         = 8,
                .i_NbrDoChannel         = 8,
                .i_Timer                = 1,
@@ -32,11 +22,6 @@ static const struct addi_board apci1516_boardtypes[] = {
                .pc_DriverName          = "apci2016",
                .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
                .i_DeviceId             = 0x1002,
-               .i_IorangeBase0         = 128,
-               .i_IorangeBase1         = APCI1516_ADDRESS_RANGE,
-               .i_IorangeBase2         = 32,
-               .i_PCIEeprom            = ADDIDATA_EEPROM,
-               .pc_EepromChip          = ADDIDATA_S5920,
                .i_NbrDoChannel         = 16,
                .i_Timer                = 1,
        },