2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/drivers/video/fbdev
Jani Nikula 8a48ac3393 video: constify fb ops across all drivers
Now that the fbops member of struct fb_info is const, we can start
making the ops const as well.

This does not cover all drivers; some actually modify the fbops struct,
for example to adjust for different configurations, and others do more
involved things that I'd rather not touch in practically obsolete
drivers. Mostly this is the low hanging fruit where we can add "const"
and be done with it.

v3:
- un-constify atyfb, mb862xx, nvidia and uvesabf (0day)

v2:
- fix typo (Christophe de Dinechin)
- use "static const" instead of "const static" in mx3fb.c
- also constify smscufx.c

Cc: linux-fbdev@vger.kernel.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ce67f14435f3af498f2e8bf35ce4be11f7504132.1575390740.git.jani.nikula@intel.com
2019-12-05 10:57:53 +02:00
..
aty video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
core video: fbmem: use const pointer for fb_ops 2019-12-03 11:11:29 +02:00
geode video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
i810
intelfb video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
kyro video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
matrox video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
mb862xx video: fbdev: mb862xx: modify the static fb_ops directly 2019-12-05 10:57:22 +02:00
mbx video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
mmp video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
nvidia video: fbdev: nvidia: modify the static fb_ops directly 2019-12-05 10:57:27 +02:00
omap video: omapfb: use const pointer for fb_ops 2019-12-03 11:11:44 +02:00
omap2 video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
riva video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
savage video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sis video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vermilion treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 63 2019-05-24 17:36:46 +02:00
via video: fbdev: viafb: Remove dead code 2019-08-19 15:52:28 +02:00
68328fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
acornfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
acornfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
amba-clcd.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
amifb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
arcfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
arkfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
asiliantfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
atafb_iplan2p2.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_iplan2p4.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_iplan2p8.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_mfb.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_utils.h
atafb.c m68k: atari: Rename shifter to shifter_st to avoid conflict 2019-08-19 13:24:10 +02:00
atafb.h
atmel_lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1100fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1100fb.h au1100fb: fix DMA API abuse 2019-06-03 16:00:08 +02:00
au1200fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1200fb.h
broadsheetfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
bt431.h
bt455.h
bw2.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
c2p_core.h
c2p_iplan2.c
c2p_planar.c
c2p.h
carminefb_regs.h
carminefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
carminefb.h
cg3.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cg6.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cg14.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
chipsfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cirrusfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
clps711x-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cobalt_lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
controlfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
controlfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cyber2000fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cyber2000fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
da8xx-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
dnfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
edid.h
efifb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ep93xx-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fb-puv3.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ffb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fm2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fsl-diu-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
g364fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
gbefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
goldfishfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
grvga.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
gxt4500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hecubafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hgafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hitfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hpfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hyperv_fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
i740_reg.h
i740fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
imsttfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
imxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
Kconfig Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
leo.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
macfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
macmodes.c
macmodes.h
Makefile Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
maxinefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
metronomefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
mx3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
n411.c
neofb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ocfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
offb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
p9100.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
platinumfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
platinumfb.h
pm2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pm3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmag-aa-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmag-ba-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmagb-b-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ps3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pvr2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pxa3xx-gcu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
pxa3xx-gcu.h
pxa168fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pxa168fb.h
pxafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pxafb.h video: pxafb: Remove cpufreq policy notifier 2019-08-26 10:02:02 +02:00
q40fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
s1d13xxxfb.c
s3c2410fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
s3c2410fb.h
s3c-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
s3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sa1100fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sa1100fb.h video: sa1100fb: Remove cpufreq policy notifier 2019-08-26 10:02:02 +02:00
sbuslib.c
sbuslib.h
sh7760fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sh_mobile_lcdcfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sh_mobile_lcdcfb.h fbdev/sh_mobile: remove sh_mobile_lcdc_display_notify 2019-06-12 20:28:11 +02:00
simplefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
skeletonfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sm501fb.c video: fbdev: sm501fb: convert platform driver to use dev_groups 2019-08-02 13:22:37 +02:00
sm712.h fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display 2019-04-01 17:46:59 +02:00
sm712fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
smscufx.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ssd1307fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sstfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sticore.h
stifb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr1000.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr2500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tcx.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tdfxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tgafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tmiofb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tridentfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
udlfb.c video: udlfb: don't restore fb_mmap after deferred IO cleanup 2019-12-03 11:11:16 +02:00
uvesafb.c video: fbdev: uvesafb: modify the static fb_ops directly 2019-12-05 10:57:31 +02:00
valkyriefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
valkyriefb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
vesafb.c video: fbdev: vesafb: modify the static fb_ops directly 2019-12-03 11:11:24 +02:00
vfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vga16fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vt8500lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vt8500lcdfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
vt8623fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
w100fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
w100fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wm8505fb_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
wm8505fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
wmt_ge_rops.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
wmt_ge_rops.h
xen-fbfront.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
xilinxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00