diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2015-09-18 20:58:35 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-09-18 20:58:35 +0200 |
commit | 98a97e6fe9eb20e877a82d0149ce6d8f832c8975 (patch) | |
tree | 713610a047b895f1758c671db2494e97c4edc5c5 /drivers/pci/host/pci-keystone.h | |
parent | PCI: designware: Implement multivector MSI IRQ setup (diff) | |
download | linux-98a97e6fe9eb20e877a82d0149ce6d8f832c8975.tar.xz linux-98a97e6fe9eb20e877a82d0149ce6d8f832c8975.zip |
PCI: designware: Make get_msi_addr() return phys_addr_t, not u32
Make get_msi_addr() return phys_addr_t, not u32. This allows the MSI
target address to be above 4GB for 64bit or PAE systems.
No functional change for the current 32bit platform users as phys_addr_t
maps to u32 for them.
[bhelgaas: changelog]
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'drivers/pci/host/pci-keystone.h')
-rw-r--r-- | drivers/pci/host/pci-keystone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-keystone.h b/drivers/pci/host/pci-keystone.h index 478d932b602d..f0944e8c4b02 100644 --- a/drivers/pci/host/pci-keystone.h +++ b/drivers/pci/host/pci-keystone.h @@ -37,7 +37,7 @@ struct keystone_pcie { /* Keystone DW specific MSI controller APIs/definitions */ void ks_dw_pcie_handle_msi_irq(struct keystone_pcie *ks_pcie, int offset); -u32 ks_dw_pcie_get_msi_addr(struct pcie_port *pp); +phys_addr_t ks_dw_pcie_get_msi_addr(struct pcie_port *pp); /* Keystone specific PCI controller APIs */ void ks_dw_pcie_enable_legacy_irqs(struct keystone_pcie *ks_pcie); |