From: Ben Skeggs Date: Thu, 20 Aug 2015 04:54:11 +0000 (+1000) Subject: drm/nouveau/bar: switch to subdev printk macros X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0df18e6d52fab22e841e734c384c86f3b7b762b8;p=openwrt%2Fstaging%2Fblogic.git drm/nouveau/bar: switch to subdev printk macros Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c index 664a1789500a..0cdb49e983ab 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c @@ -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; }