aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-19 05:40:31 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:41:08 -0400
commit05432837ae0dfc6c7de93d081b1377ced4eb866b (patch)
tree63fa348d96185a59395e04009aec0238f5e9f030 /include
parentd272f428fac77ec57049a3293583ab3353928b1c (diff)
fbdev: sh_mobile_meram: Make variables unsigned where applicable
Many variables, such as loop counters, sizes and offsets, should be unsigned integers. Make them so. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/sh_mobile_meram.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/video/sh_mobile_meram.h b/include/video/sh_mobile_meram.h
index caae558d52ae..6755e3f89a36 100644
--- a/include/video/sh_mobile_meram.h
+++ b/include/video/sh_mobile_meram.h
@@ -46,11 +46,13 @@ struct sh_mobile_meram_ops {
46 /* register usage of meram */ 46 /* register usage of meram */
47 int (*meram_register)(struct sh_mobile_meram_info *meram_dev, 47 int (*meram_register)(struct sh_mobile_meram_info *meram_dev,
48 struct sh_mobile_meram_cfg *cfg, 48 struct sh_mobile_meram_cfg *cfg,
49 int xres, int yres, int pixelformat, 49 unsigned int xres, unsigned int yres,
50 unsigned int pixelformat,
50 unsigned long base_addr_y, 51 unsigned long base_addr_y,
51 unsigned long base_addr_c, 52 unsigned long base_addr_c,
52 unsigned long *icb_addr_y, 53 unsigned long *icb_addr_y,
53 unsigned long *icb_addr_c, int *pitch); 54 unsigned long *icb_addr_c,
55 unsigned int *pitch);
54 56
55 /* unregister usage of meram */ 57 /* unregister usage of meram */
56 int (*meram_unregister)(struct sh_mobile_meram_info *meram_dev, 58 int (*meram_unregister)(struct sh_mobile_meram_info *meram_dev,