diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-19 11:40:31 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 22:41:08 +0100 |
commit | d272f428fac77ec57049a3293583ab3353928b1c (patch) | |
tree | 10e4e3bf360c7e288003de7d070a9da0e4cd98f2 /include/video | |
parent | e1d1144eb92e69394958e59ff2a0fd22d58094d4 (diff) |
fbdev: sh_mobile_meram: Add _cfg suffix to struct sh_mobile_meram_icb
The structure describe ICB configuration, no ICB objects themselves.
Rename it to sh_mobile_meram_icb_cfg in preparation for the addition of
an ICB structure.
All the structure fields are 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 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/video/sh_mobile_meram.h b/include/video/sh_mobile_meram.h index af602d602b28..caae558d52ae 100644 --- a/include/video/sh_mobile_meram.h +++ b/include/video/sh_mobile_meram.h @@ -25,17 +25,17 @@ struct sh_mobile_meram_info { }; /* icb config */ -struct sh_mobile_meram_icb { - int marker_icb; /* ICB # for Marker ICB */ - int cache_icb; /* ICB # for Cache ICB */ - int meram_offset; /* MERAM Buffer Offset to use */ - int meram_size; /* MERAM Buffer Size to use */ +struct sh_mobile_meram_icb_cfg { + unsigned int marker_icb; /* ICB # for Marker ICB */ + unsigned int cache_icb; /* ICB # for Cache ICB */ + unsigned int meram_offset; /* MERAM Buffer Offset to use */ + unsigned int meram_size; /* MERAM Buffer Size to use */ - int cache_unit; /* bytes to cache per ICB */ + unsigned int cache_unit; /* bytes to cache per ICB */ }; struct sh_mobile_meram_cfg { - struct sh_mobile_meram_icb icb[2]; + struct sh_mobile_meram_icb_cfg icb[2]; int pixelformat; int current_reg; }; |