summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2009-07-30 16:14:55 +0800
committerJustin Waters <justin.waters@timesys.com>2009-10-13 11:04:47 -0400
commitebfc8d1ca8afacb55fc080ed8a5475f4763d0bc0 (patch)
tree5af49f48f3b0622d8ce3a6538a3d37cd9e33fce0
parent716777e659243b4c2753a03a617d811cff29051f (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 *