summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2009-12-15 17:29:45 -0800
committerGary King <gking@nvidia.com>2009-12-15 19:51:28 -0800
commit4f475cb80f9797f0d69515d6b40f9d546110a18f (patch)
treedf676fad127e15c720382f9cb524222a57cdd0ca /drivers
parent018a18faac3269b29c6649ef337499a1eff61668 (diff)
char: include tegra_devices.h in nvmap.c to get NV_DEBUG definition
Change-Id: I48fab12a10b527e10d6e98063ca677a413dda36a
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/nvmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/nvmap.c b/drivers/char/nvmap.c
index e4b10fdd4826..751a2eeee0cf 100644
--- a/drivers/char/nvmap.c
+++ b/drivers/char/nvmap.c
@@ -33,7 +33,7 @@
#include <linux/pagemap.h>
#include <linux/sched.h>
#include <linux/io.h>
-#include "../nvrm/nvrmkernel/core/ap15/ap15rm_private.h"
+#include <linux/tegra_devices.h>
#include "linux/nvmem_ioctl.h"
#include "nvcommon.h"
#include "nvrm_memmgr.h"
@@ -63,6 +63,8 @@ static int nvmap_map_into_caller_ptr(struct file *filp, void __user *arg);
static int nvmap_rw_handle(struct file *filp, int is_read,
void __user* arg);
+extern void NvRmPrivMemIncrRef(NvRmMemHandle hmem);
+
static struct backing_dev_info nvmap_bdi = {
.ra_pages = 0,
.capabilities = (BDI_CAP_NO_ACCT_AND_WRITEBACK |