staging: comedi: addi_apci_1516: don't read the unused PCI bars
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 13 Nov 2012 20:42:54 +0000 (13:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 23:12:48 +0000 (15:12 -0800)
commit308632e8490e97b98f6a7ba0aa15e10ba4224e68
tree84ab18e490ee70d1729f4874dea193af671816f9
parent4bcf9593b46c1fe3b952ae541dec45a810d0debd
staging: comedi: addi_apci_1516: don't read the unused PCI bars

This driver does use devpriv->i_IobaseAmcc or devpriv->i_IobaseReserved.
Don't bother reading these PCI bars.

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