diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-11-05 00:51:31 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-11-05 00:51:31 +0100 |
commit | 9437eca18170008a085a61bf96c99f2d923b0393 (patch) | |
tree | 202e08e658fbe2ae76e4df47bf015e35cb4e08ca /drivers/pci/pci.c | |
parent | powerpc/pci: Use pci_is_pcie() to simplify code (diff) | |
download | linux-9437eca18170008a085a61bf96c99f2d923b0393.tar.xz linux-9437eca18170008a085a61bf96c99f2d923b0393.zip |
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 <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions