aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-08-13 12:03:55 +0530
committerDaniel Vetter <[email protected]>2019-08-14 19:27:26 +0200
commit95cbf02b8a5d93d8404b5568ebf6862e87314ead (patch)
tree3cdada2fefff0d2f37bce46531d9d40f2a73629f /net/switchdev/switchdev.c
parent535d1b947ba3bb6d37791277bf71f1c848522e6c (diff)
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 <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions