linux_dsm_epyc7002/drivers/gpu/drm/vboxvideo
Nishka Dasgupta 596cb85218 drm/vboxvideo: Make structure vbox_fb_helper_funcs constant
The static structure vbox_fb_helper_funcs, of type drm_fb_helper_funcs,
is used only when it is passed as the third argument to
drm_fb_helper_fbdev_setup(), which does not modify it. Hence make it
constant to protect it from unintended modifications.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190813062548.24770-1-nishkadg.linux@gmail.com
2019-08-18 12:52:52 +02:00
..
hgsmi_base.c
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h
Kconfig
Makefile
modesetting.c
vbox_drv.c drm/vboxvideo: Make structure vbox_fb_helper_funcs constant 2019-08-18 12:52:52 +02:00
vbox_drv.h
vbox_fb.c
vbox_hgsmi.c
vbox_irq.c
vbox_main.c
vbox_mode.c
vbox_ttm.c
vboxvideo_guest.h
vboxvideo_vbe.h
vboxvideo.h
vbva_base.c