Re: [PATCH] ARM: omap1: add const and initconst to omap_lcd_config

2017-10-02 Thread Tony Lindgren
* Bhumika Goyal [170821 23:26]: > 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. Applying into omap-for-v4.15/omap1 thanks. Tony

[PATCH] ARM: omap1: add const and initconst to omap_lcd_config

2017-08-21 Thread Bhumika Goyal
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@