diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-19 05:40:31 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 17:41:08 -0400 |
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 { | |||
25 | }; | 25 | }; |
26 | 26 | ||
27 | /* icb config */ | 27 | /* icb config */ |
28 | struct sh_mobile_meram_icb { | 28 | struct sh_mobile_meram_icb_cfg { |
29 | int marker_icb; /* ICB # for Marker ICB */ | 29 | unsigned int marker_icb; /* ICB # for Marker ICB */ |
30 | int cache_icb; /* ICB # for Cache ICB */ | 30 | unsigned int cache_icb; /* ICB # for Cache ICB */ |
31 | int meram_offset; /* MERAM Buffer Offset to use */ | 31 | unsigned int meram_offset; /* MERAM Buffer Offset to use */ |
32 | int meram_size; /* MERAM Buffer Size to use */ | 32 | unsigned int meram_size; /* MERAM Buffer Size to use */ |
33 | 33 | ||
34 | int cache_unit; /* bytes to cache per ICB */ | 34 | unsigned int cache_unit; /* bytes to cache per ICB */ |
35 | }; | 35 | }; |
36 | 36 | ||
37 | struct sh_mobile_meram_cfg { | 37 | struct sh_mobile_meram_cfg { |
38 | struct sh_mobile_meram_icb icb[2]; | 38 | struct sh_mobile_meram_icb_cfg icb[2]; |
39 | int pixelformat; | 39 | int pixelformat; |
40 | int current_reg; | 40 | int current_reg; |
41 | }; | 41 | }; |