diff options
author | Feng Kan <[email protected]> | 2015-02-17 15:14:00 -0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-03-05 22:14:21 -0600 |
commit | 085a68d0010ffa57603b93c2b09fdf98bf74218c (patch) | |
tree | 5776296d84b2923f2eca45db4b5187d5318411c0 /scripts/patch-kernel | |
parent | 4efe874aace57dba967624ce1c48322da2447b75 (diff) |
PCI: xgene: Add register offset to config space base address
In xgene_pcie_map_bus(), we neglected to add in the register offset when
calculating the config space address. This means all config accesses
operated on the first four bytes of config space.
Add the register offset to the config space base address.
Also correct the xgene_pcie_map_bus() prototype to fix a compiler warning.
[bhelgaas: changelog]
Fixes: 350f8be5bb40 ("PCI: xgene: Convert to use generic config accessors")
Posting: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Feng Kan <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Tanmay Inamdar <[email protected]>
Acked-by: Rob Herring <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions