From: H Hartley Sweeten Date: Fri, 30 Nov 2012 01:17:00 +0000 (-0700) Subject: staging: comedi: addi_apci_2032: remove unnecessary info from boardinfo X-Git-Tag: next-20121205~26^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dba18c58e0e116b7185277385e087041c52f2afd;p=karo-tx-linux.git staging: comedi: addi_apci_2032: remove unnecessary info from boardinfo 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi_apci_2032.c b/drivers/staging/comedi/drivers/addi_apci_2032.c index e0b307cc41a4..aae04d402da4 100644 --- a/drivers/staging/comedi/drivers/addi_apci_2032.c +++ b/drivers/staging/comedi/drivers/addi_apci_2032.c @@ -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,