projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support for platform devices
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
core
/
subdev
/
bar
/
base.c
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/bar/base.c
b/drivers/gpu/drm/nouveau/core/subdev/bar/base.c
index
7098ddd
..
bdf5941
100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/bar/base.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/bar/base.c
@@
-118,8
+118,8
@@
nouveau_bar_create_(struct nouveau_object *parent,
if (ret)
return ret;
- bar->iomem = ioremap(
pci_resource_start(device->pdev
, 3),
-
pci_resource_len(device->pdev
, 3));
+ bar->iomem = ioremap(
nv_device_resource_start(device
, 3),
+
nv_device_resource_len(device
, 3));
return 0;
}