diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-08-13 11:55:48 +0530 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2019-08-18 12:52:52 +0200 |
commit | 596cb85218d7aff659b99bbaa50059f48d00d971 (patch) | |
tree | 5e8d0cc51247e70db136d84041f22cfd48264f41 /drivers/video | |
parent | f2cb60e9a3881e679465f84140754bc9d29956ea (diff) | |
download | linux-stable-596cb85218d7aff659b99bbaa50059f48d00d971.tar.gz linux-stable-596cb85218d7aff659b99bbaa50059f48d00d971.tar.bz2 linux-stable-596cb85218d7aff659b99bbaa50059f48d00d971.zip |
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
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions