omapfb: panel-dsi-cm: constify dsicm_attr_group
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 4 Jul 2017 15:47:23 +0000 (17:47 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 4 Jul 2017 15:47:23 +0000 (17:47 +0200)
File size before:
   text    data     bss     dec     hex filename
   4657     464       0    5121    1401 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.o

File size after adding 'const':
   text    data     bss     dec     hex filename
   4713     400       0    5113    13f9 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c

index 7f20bc267234c92cf7c2a877f7998a29f64c5f3f..bef4315300905a691c32373feb29e70ab1ff421e 100644 (file)
@@ -559,7 +559,7 @@ static struct attribute *dsicm_attrs[] = {
        NULL,
 };
 
-static struct attribute_group dsicm_attr_group = {
+static const struct attribute_group dsicm_attr_group = {
        .attrs = dsicm_attrs,
 };