]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/disp,pm: constify nvkm_object_func structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 11 Oct 2015 12:18:09 +0000 (14:18 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 3 Nov 2015 05:02:18 +0000 (15:02 +1000)
commitb26ab15c598ed25861176e83e3e844495533635b
tree07a451c98301c1dd82addf3b346aa0a7a75cfccb
parent19660b6390b0f2299bf919212c7e479002315ff0
drm/nouveau/disp,pm: constify nvkm_object_func structures

These nvkm_object_func structures are never modified.  All other
nvkm_object_func structures are declared as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c
drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c