From: H Hartley Sweeten Date: Fri, 18 Jan 2013 00:38:25 +0000 (-0700) Subject: staging: comedi: addi_apci_2200: remove unnecessary info from boardinfo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aad474484174022ced3fd5b0df5d43f78fa39be6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: addi_apci_2200: remove unnecessary info from boardinfo Remove the information from the boardinfo that was only needed to work out the usage of the PCI bars. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci2200.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci2200.c index d4c03f931c9b..e4a422e7cbdf 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci2200.c +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci2200.c @@ -48,9 +48,6 @@ You should also find the complete GPL in the COPYING file accompanying this sour /********* Definitions for APCI-2200 card *****/ -/* Card Specific information */ -#define APCI2200_ADDRESS_RANGE 64 - /* DIGITAL INPUT-OUTPUT DEFINE */ #define APCI2200_DIGITAL_OP 4 diff --git a/drivers/staging/comedi/drivers/addi_apci_2200.c b/drivers/staging/comedi/drivers/addi_apci_2200.c index 49847ba5d3e9..1205fe9a620b 100644 --- a/drivers/staging/comedi/drivers/addi_apci_2200.c +++ b/drivers/staging/comedi/drivers/addi_apci_2200.c @@ -10,10 +10,6 @@ static const struct addi_board apci2200_boardtypes[] = { .pc_DriverName = "apci2200", .i_VendorId = PCI_VENDOR_ID_ADDIDATA, .i_DeviceId = 0x1005, - .i_IorangeBase0 = 4, - .i_IorangeBase1 = APCI2200_ADDRESS_RANGE, - .i_PCIEeprom = ADDIDATA_EEPROM, - .pc_EepromChip = ADDIDATA_93C76, .i_NbrDiChannel = 8, .i_NbrDoChannel = 16, .i_Timer = 1,