drm/nouveau/bar: switch to subdev printk macros
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
6594363b9f
commit
0df18e6d52
|
@ -55,7 +55,7 @@ nvkm_barobj_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
|
|||
barobj->iomem = ioremap(nv_device_resource_start(device, 3) +
|
||||
(u32)barobj->vma.offset, mem->size << 12);
|
||||
if (!barobj->iomem) {
|
||||
nv_warn(bar, "PRAMIN ioremap failed\n");
|
||||
nvkm_warn(&bar->subdev, "PRAMIN ioremap failed\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue