staging: comedi: addi_apci_1710: remove the 'i_IorangeBase*'
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 1 Nov 2012 18:10:35 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 19:34:25 +0000 (12:34 -0700)
These values in the boardinfor were used in the common addi-data
attach code to work out use of the PCI bars. Since this driver
has a localized attach we already know the use of the bars so
this information in the boardinfo is unnecessary.

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_1710.c

index 02a2ac9..6bfbebe 100644 (file)
@@ -28,9 +28,6 @@ static const struct addi_board apci1710_boardtypes[] = {
                .pc_DriverName          = "apci1710",
                .i_VendorId             = PCI_VENDOR_ID_ADDIDATA_OLD,
                .i_DeviceId             = APCI1710_BOARD_DEVICE_ID,
-               .i_IorangeBase0         = 128,
-               .i_IorangeBase1         = 8,
-               .i_IorangeBase2         = 256,
                .interrupt              = v_APCI1710_Interrupt,
        },
 };