drm/nouveau/bar: switch to subdev printk macros
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:22 +0000 (12:40 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c

index 664a178..0cdb49e 100644 (file)
@@ -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;
        }