summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/nvhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/nvhost.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/nvhost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/nvhost.c b/drivers/gpu/nvgpu/common/linux/nvhost.c
index e190096e..96865f7d 100644
--- a/drivers/gpu/nvgpu/common/linux/nvhost.c
+++ b/drivers/gpu/nvgpu/common/linux/nvhost.c
@@ -37,13 +37,13 @@ int nvgpu_get_nvhost_dev(struct gk20a *g)
37 37
38 host1x_pdev = of_find_device_by_node(host1x_node); 38 host1x_pdev = of_find_device_by_node(host1x_node);
39 if (!host1x_pdev) { 39 if (!host1x_pdev) {
40 dev_warn(g->dev, "host1x device not available"); 40 nvgpu_warn(g, "host1x device not available");
41 return -EPROBE_DEFER; 41 return -EPROBE_DEFER;
42 } 42 }
43 43
44 } else { 44 } else {
45 if (g->has_syncpoints) { 45 if (g->has_syncpoints) {
46 dev_warn(g->dev, "host1x reference not found. assuming no syncpoints support\n"); 46 nvgpu_warn(g, "host1x reference not found. assuming no syncpoints support");
47 g->has_syncpoints = false; 47 g->has_syncpoints = false;
48 } 48 }
49 return 0; 49 return 0;