aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-08-13 06:25:48 +0000
committerHans de Goede <[email protected]>2019-08-18 10:52:52 +0000
commit596cb85218d7aff659b99bbaa50059f48d00d971 (patch)
tree5e8d0cc51247e70db136d84041f22cfd48264f41 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdma-fence: Store the timestamp in the same union as the cb_list (diff)
downloadkernel-596cb85218d7aff659b99bbaa50059f48d00d971.tar.gz
kernel-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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions