From: Gavin Shan Date: Thu, 19 Jun 2014 07:22:44 +0000 (+1000) Subject: PCI: Make resetting secondary bus logic common X-Git-Tag: omap-for-v3.17/fixes-against-rc2~196^2^9~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e33002fd1791bcab626b19301670484c1cb6d50;p=pandora-kernel.git PCI: Make resetting secondary bus logic common Commit d92a208d086 ("powerpc/pci: Mask linkDown on resetting PCI bus") implemented same logic (resetting PCI secondary bus by bridge's config register PCI_BRIDGE_CTL_BUS_RESET) in PCI core and arch-dependent code. To avoid the duplication, move the logic to pci_reset_secondary_bus(). That commit did not declare the pcibios_reset_secondary_bus() interface in linux/include/pci.h. Add the declaration. No functional change. Signed-off-by: Gavin Shan Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed