]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
video: fbdev: annotate fb_fix_screeninfo with const and __initconst
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 4 Sep 2017 14:00:49 +0000 (16:00 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 4 Sep 2017 14:00:49 +0000 (16:00 +0200)
commit799b88deec3fc4cd20165549a8cfcca94cbef98c
tree25b847302841d83145b54906ef95ec0b9691208a
parentaa55457d26eccdb0e750882674f47df6a2bb2505
video: fbdev: annotate fb_fix_screeninfo with const and __initconst

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@gmail.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/68328fb.c
drivers/video/fbdev/atmel_lcdfb.c
drivers/video/fbdev/dnfb.c
drivers/video/fbdev/grvga.c
drivers/video/fbdev/pmag-aa-fb.c
drivers/video/fbdev/pmag-ba-fb.c
drivers/video/fbdev/pmagb-b-fb.c
drivers/video/fbdev/ps3fb.c
drivers/video/fbdev/skeletonfb.c