diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal.c b/drivers/gpu/nvgpu/gk20a/hal.c index dc4fcf1c..bbde885f 100644 --- a/drivers/gpu/nvgpu/gk20a/hal.c +++ b/drivers/gpu/nvgpu/gk20a/hal.c | |||
@@ -23,6 +23,8 @@ | |||
23 | #include "nvgpu_gpuid_t19x.h" | 23 | #include "nvgpu_gpuid_t19x.h" |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #include <nvgpu/log.h> | ||
27 | |||
26 | int gpu_init_hal(struct gk20a *g) | 28 | int gpu_init_hal(struct gk20a *g) |
27 | { | 29 | { |
28 | u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; | 30 | u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; |
@@ -54,7 +56,7 @@ int gpu_init_hal(struct gk20a *g) | |||
54 | break; | 56 | break; |
55 | #endif | 57 | #endif |
56 | default: | 58 | default: |
57 | gk20a_err(g->dev, "no support for %x", ver); | 59 | nvgpu_err(g, "no support for %x", ver); |
58 | return -ENODEV; | 60 | return -ENODEV; |
59 | } | 61 | } |
60 | 62 | ||