summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2009-07-30 16:14:55 +0800
committerRob Herring <r.herring@freescale.com>2009-08-07 09:47:11 -0500
commitd2891a368259625e888269c7e20cb1b9d817f7ea (patch)
tree5af49f48f3b0622d8ce3a6538a3d37cd9e33fce0
parent94d5f095e37981be528ac608c0105fb51aa109cf (diff)
ENGR00114663-2 Add function comments for mmap function of MXS VIIM driver
Add function comments for memory map function of MXS VIIM driver. Signed-off-by: Liu Ying <b17645@freescale.com>
-rwxr-xr-xdrivers/char/mxs_viim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/mxs_viim.c b/drivers/char/mxs_viim.c
index 09d3e80540bf..2510afa6c13e 100755
--- a/drivers/char/mxs_viim.c
+++ b/drivers/char/mxs_viim.c
@@ -24,6 +24,10 @@ static struct device *iim_dev;
/*!
* MXS Virtual IIM interface - memory map function
+ * This function maps one page size VIIM registers from VIIM base address0
+ * if the size of the required virtual memory space is less than or equal to
+ * one page size, otherwise this function will also map one page size VIIM
+ * registers from VIIM base address1.
*
* @param file struct file *
* @param vma structure vm_area_struct *