[PATCH] video: fbdev: annotate fb_fix_screeninfo with const and __initconst

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Mon Sep 4 22:40:31 AEST 2017


On Sunday, August 20, 2017 11:14:51 PM Bhumika Goyal wrote:
> Make these const as they are only used during a copy operation.
> Some structures are used as a copy operation inside __init functions, so
> make them const and replace __initdata with __initconst to avoid section
> conflict error.
> 
> Signed-off-by: Bhumika Goyal <bhumirks at gmail.com>

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics



More information about the Linuxppc-dev mailing list