aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-04-20 03:09:36 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 07:20:49 -0400
commitea29033359e3b13f63ddf2b1c615e1ed32625a99 (patch)
tree78e3e7743c48a2973bf3aff025f3bd86f40c0e4b /drivers/video
parent6705615e92b6d44c8e09703282bee7d7275bb74f (diff)
OMAP: DSS2: FEATURES: Add missing consts
omap_dss_features definitions were missing consts. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/omap2/dss/dss_features.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c
index f4a92cd45b5..66f87112b67 100644
--- a/drivers/video/omap2/dss/dss_features.c
+++ b/drivers/video/omap2/dss/dss_features.c
@@ -52,7 +52,7 @@ struct omap_dss_features {
52}; 52};
53 53
54/* This struct is assigned to one of the below during initialization */ 54/* This struct is assigned to one of the below during initialization */
55static struct omap_dss_features *omap_current_dss_features; 55static const struct omap_dss_features *omap_current_dss_features;
56 56
57static const struct dss_reg_field omap2_dss_reg_fields[] = { 57static const struct dss_reg_field omap2_dss_reg_fields[] = {
58 [FEAT_REG_FIRHINC] = { 11, 0 }, 58 [FEAT_REG_FIRHINC] = { 11, 0 },
@@ -226,7 +226,7 @@ static const struct dss_param_range omap4_dss_param_range[] = {
226}; 226};
227 227
228/* OMAP2 DSS Features */ 228/* OMAP2 DSS Features */
229static struct omap_dss_features omap2_dss_features = { 229static const struct omap_dss_features omap2_dss_features = {
230 .reg_fields = omap2_dss_reg_fields, 230 .reg_fields = omap2_dss_reg_fields,
231 .num_reg_fields = ARRAY_SIZE(omap2_dss_reg_fields), 231 .num_reg_fields = ARRAY_SIZE(omap2_dss_reg_fields),
232 232
@@ -244,7 +244,7 @@ static struct omap_dss_features omap2_dss_features = {
244}; 244};
245 245
246/* OMAP3 DSS Features */ 246/* OMAP3 DSS Features */
247static struct omap_dss_features omap3430_dss_features = { 247static const struct omap_dss_features omap3430_dss_features = {
248 .reg_fields = omap3_dss_reg_fields, 248 .reg_fields = omap3_dss_reg_fields,
249 .num_reg_fields = ARRAY_SIZE(omap3_dss_reg_fields), 249 .num_reg_fields = ARRAY_SIZE(omap3_dss_reg_fields),
250 250
@@ -263,7 +263,7 @@ static struct omap_dss_features omap3430_dss_features = {
263 .dss_params = omap3_dss_param_range, 263 .dss_params = omap3_dss_param_range,
264}; 264};
265 265
266static struct omap_dss_features omap3630_dss_features = { 266static const struct omap_dss_features omap3630_dss_features = {
267 .reg_fields = omap3_dss_reg_fields, 267 .reg_fields = omap3_dss_reg_fields,
268 .num_reg_fields = ARRAY_SIZE(omap3_dss_reg_fields), 268 .num_reg_fields = ARRAY_SIZE(omap3_dss_reg_fields),
269 269
@@ -284,7 +284,7 @@ static struct omap_dss_features omap3630_dss_features = {
284}; 284};
285 285
286/* OMAP4 DSS Features */ 286/* OMAP4 DSS Features */
287static struct omap_dss_features omap4_dss_features = { 287static const struct omap_dss_features omap4_dss_features = {
288 .reg_fields = omap4_dss_reg_fields, 288 .reg_fields = omap4_dss_reg_fields,
289 .num_reg_fields = ARRAY_SIZE(omap4_dss_reg_fields), 289 .num_reg_fields = ARRAY_SIZE(omap4_dss_reg_fields),
290 290