diff options
Diffstat (limited to 'drivers/video/tegra/host/dev.c')
-rw-r--r-- | drivers/video/tegra/host/dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/dev.c b/drivers/video/tegra/host/dev.c index b0a4c20ba32b..bdbb21fe9e7c 100644 --- a/drivers/video/tegra/host/dev.c +++ b/drivers/video/tegra/host/dev.c @@ -77,6 +77,7 @@ struct nvhost_ctrl_userctx { */ static void trace_write_cmdbufs(struct nvhost_job *job) { +#if defined(CONFIG_TEGRA_NVMAP) struct nvmap_handle_ref handle; void *mem = NULL; int i = 0; @@ -108,6 +109,7 @@ static void trace_write_cmdbufs(struct nvhost_job *job) nvmap_munmap(&handle, mem); } } +#endif } static int nvhost_channelrelease(struct inode *inode, struct file *filp) |