]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_apci_1710: only pci bar 2 is used
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 13 Mar 2013 19:18:12 +0000 (12:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Mar 2013 22:02:47 +0000 (15:02 -0700)
commit296c814a25bda929975a2037cfc445e7f2ace154
tree75c4500a7e06c8c7c36ddb7d458e7795ddcc6346
parent248424f5b4b7b7f76dd3f16c4b2674c0bf425526
staging: comedi: addi_apci_1710: only pci bar 2 is used

This driver used to be tied to the addi-data common code which
always saved the start address of pci bars 0, 1, 2, and 3 for
use by the driver. This driver only uses pci bar 2.

Remove all the non-used pci bars and move the saving of pci bar
2 so it occurs right after the pci device is enabled.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1710.c