staging: comedi: addi_apci_2032: remove unnecessary info from boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 30 Nov 2012 01:17:00 +0000 (18:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 02:05:29 +0000 (18:05 -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_2032.c

index e0b307cc41a4db8c321ee24c91ceea19bc228fb3..aae04d402da46b19b11ad5b1ce4f64ff4a819bbf 100644 (file)
@@ -10,10 +10,6 @@ static const struct addi_board apci2032_boardtypes[] = {
                .pc_DriverName          = "apci2032",
                .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
                .i_DeviceId             = 0x1004,
-               .i_IorangeBase0         = 4,
-               .i_IorangeBase1         = APCI2032_ADDRESS_RANGE,
-               .i_PCIEeprom            = ADDIDATA_EEPROM,
-               .pc_EepromChip          = ADDIDATA_93C76,
                .i_NbrDoChannel         = 32,
                .i_DoMaxdata            = 0xffffffff,
                .i_Timer                = 1,