From: H Hartley Sweeten Date: Wed, 13 Mar 2013 19:18:12 +0000 (-0700) Subject: staging: comedi: addi_apci_1710: only pci bar 2 is used X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~649 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b33e43ab39b0080fca9c2cfab58e60af0dd4971;p=pandora-kernel.git 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 Cc: Ian Abbott Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed