Searched hist:d25c70cfebaea59a6c8c4966e9a75f5c750131bd (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | board-sx1.c | diff d25c70cfebaea59a6c8c4966e9a75f5c750131bd Tue Aug 22 01:25:50 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> 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>
|
H A D | board-palmte.c | diff d25c70cfebaea59a6c8c4966e9a75f5c750131bd Tue Aug 22 01:25:50 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> 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>
|
H A D | board-nokia770.c | diff d25c70cfebaea59a6c8c4966e9a75f5c750131bd Tue Aug 22 01:25:50 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> 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>
|
H A D | board-osk.c | diff d25c70cfebaea59a6c8c4966e9a75f5c750131bd Tue Aug 22 01:25:50 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> 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>
|
H A D | board-ams-delta.c | diff d25c70cfebaea59a6c8c4966e9a75f5c750131bd Tue Aug 22 01:25:50 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> 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>
|