Bhumika Goyal d25c70cfeb ARM: omap1: add const and initconst to omap_lcd_config
Make these const as they are only passed to a const argument of the function
omapfb_set_lcd_config.
Also, replace __initdata with __initconst to avoid section conflict error.
Done using Coccinelle.

@match disable optional_qualifier@
identifier s;
@@
static struct omap_lcd_config s = {...};

@ref@
position p;
identifier match.s;
@@
s@p

@good1@
identifier match.s;
position ref.p;
@@
omapfb_set_lcd_config(&s@p,...)

@bad depends on  !good1@
position ref.p;
identifier match.s;
@@
s@p

@depends on forall !bad disable optional_qualifier@
identifier match.s;
@@
static
+ const
struct omap_lcd_config s;

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-10-02 12:33:15 -07:00
..
2013-03-13 04:10:57 -06:00
2015-12-01 21:52:50 +01:00
2015-12-01 21:52:50 +01:00
2012-10-31 15:37:14 -07:00
2015-07-28 13:58:13 +02:00
2016-11-10 12:42:49 -07:00
2013-06-18 00:12:34 -07:00
2012-10-31 15:37:14 -07:00
2012-10-31 15:37:14 -07:00