diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-19 13:40:31 +0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-13 01:41:08 +0400 |
commit | 05432837ae0dfc6c7de93d081b1377ced4eb866b (patch) | |
tree | 63fa348d96185a59395e04009aec0238f5e9f030 /include/video | |
parent | d272f428fac77ec57049a3293583ab3353928b1c (diff) | |
download | linux-05432837ae0dfc6c7de93d081b1377ced4eb866b.tar.xz |
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/video')
-rw-r--r-- | include/video/sh_mobile_meram.h | 6 |
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 { /* register usage of meram */ int (*meram_register)(struct sh_mobile_meram_info *meram_dev, struct sh_mobile_meram_cfg *cfg, - int xres, int yres, int pixelformat, + unsigned int xres, unsigned int yres, + unsigned int pixelformat, unsigned long base_addr_y, unsigned long base_addr_c, unsigned long *icb_addr_y, - unsigned long *icb_addr_c, int *pitch); + unsigned long *icb_addr_c, + unsigned int *pitch); /* unregister usage of meram */ int (*meram_unregister)(struct sh_mobile_meram_info *meram_dev, |