WSL2-Linux-Kernel/drivers/gpu/drm/aspeed
Nishka Dasgupta 95cbf02b8a drm/aspeed: gfc_crtc: Make structure aspeed_gfx_funcs constant
The static structure aspeed_gfx_funcs, of type
drm_simple_display_pipe_funcs, is used only as an argument to
drm_simple_display_pipe_init(), which does not modify it. Hence make it
constant to protect it from unintended modification.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190813063355.25549-1-nishkadg.linux@gmail.com
2019-08-14 19:27:26 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
aspeed_gfx.h drm: Add ASPEED GFX driver 2019-04-04 11:57:34 +10:30
aspeed_gfx_crtc.c drm/aspeed: gfc_crtc: Make structure aspeed_gfx_funcs constant 2019-08-14 19:27:26 +02:00
aspeed_gfx_drv.c drm/prime: Actually remove DRIVER_PRIME everywhere 2019-06-21 17:30:32 +02:00
aspeed_gfx_out.c drm: Add ASPEED GFX driver 2019-04-04 11:57:34 +10:30