From: Trent Piepho Date: Fri, 20 Mar 2009 20:56:00 +0000 (-0600) Subject: PCI: don't scan existing devices X-Git-Tag: v2.6.30-rc1~419^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90bdb3117f4209baa6d712b126f0e7791b24dc3f;p=pandora-kernel.git PCI: don't scan existing devices pci_scan_single_device is supposed to add newly discovered devices to pci_bus->devices, but doesn't check to see if the device has already been added. This can cause problems if we ever want to use this interface to rescan the PCI bus. If the device is already added, just return it. Signed-off-by: Trent Piepho Signed-off-by: Alex Chiang Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed