From: Yijing Wang Date: Mon, 4 Nov 2013 23:51:31 +0000 (-0700) Subject: powerpc/pci: Use pci_is_pcie() to simplify code [fix] X-Git-Tag: v3.13-rc1~95^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9437eca18170008a085a61bf96c99f2d923b0393;p=pandora-kernel.git powerpc/pci: Use pci_is_pcie() to simplify code [fix] Fix f0308261b1 ("powerpc/pci: Use pci_is_pcie() to simplify code"). I accidentally merged v2 instead of v3, so this adds the difference. Without this, "cap" is the left-over PCI-X capability offset, and we're using it as the PCIe capability offset. [bhelgaas: extracted v2->v3 diff] Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed