diff options
author | Mursalin Akon <makon@nvidia.com> | 2011-12-16 14:38:22 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-22 11:38:57 +0530 |
commit | 98ec2f48eddcd64bcf0bb64064f7d68a8b6feaf4 (patch) | |
tree | 3fbf9af5530bbe24d989b6505211075bebc44659 /arch/arm/mach-tegra/pcie.c | |
parent | 62edc6767193e121b04e4bf7b713ebd6eae91d31 (diff) |
ARM: tegra3: pci: fix compilation warning
replace virt_to_bus with virt_to_phys to avoid
compilation warning of obsolete identifier
Change-Id: I296fd2ee54ce71afd318f46aa9c9bec4e80dab0f
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/70635
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Krishna Thota <kthota@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pcie.c')
-rw-r--r-- | arch/arm/mach-tegra/pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pcie.c b/arch/arm/mach-tegra/pcie.c index f3207d3ee0da..c665220f5516 100644 --- a/arch/arm/mach-tegra/pcie.c +++ b/arch/arm/mach-tegra/pcie.c @@ -1385,7 +1385,7 @@ static bool pci_tegra_enable_msi(void) /* FIXME do this better! should be based on PAGE_SIZE */ msi_base = __get_free_pages(GFP_KERNEL, 3); msi_aligned = ((msi_base + ((1<<12) - 1)) & ~((1<<12) - 1)); - msi_aligned = virt_to_bus((void *)msi_aligned); + msi_aligned = virt_to_phys((void *)msi_aligned); #ifdef CONFIG_ARCH_TEGRA_2x_SOC afi_writel(msi_aligned, AFI_MSI_FPCI_BAR_ST_0); |