diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-07 02:21:16 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-07 22:36:35 +0400 |
commit | d68c5a271727e09ce4a26ea8b85cbb852e06650f (patch) | |
tree | 58f48c1f956a0a18f7dff57718ca19e0f4d2b6b1 /drivers/media/platform | |
parent | e501b3d87f003dfad8fcbd0f55ae17ea52495a56 (diff) | |
download | linux-d68c5a271727e09ce4a26ea8b85cbb852e06650f.tar.xz |
agp: Use pci_resource_start() to get CPU physical address for BAR
amd_irongate_configure(), ati_configure(), and nvidia_configure() call
ioremap() on an address read directly from a BAR. But a BAR contains a
bus address, and ioremap() expects a CPU physical address. Use
pci_resource_start() to obtain the physical address.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions