From aad474484174022ced3fd5b0df5d43f78fa39be6 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 17 Jan 2013 17:38:25 -0700 Subject: [PATCH] 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 --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci2200.c | 3 --- drivers/staging/comedi/drivers/addi_apci_2200.c | 4 ---- 2 files changed, 7 deletions(-) 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, -- 2.30.2