]> git.karo-electronics.de Git - linux-beck.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)
commit354a22496613366833edfe29300a6bfe6482255c
tree07a451c98301c1dd82addf3b346aa0a7a75cfccb
parent2e69a5cd25a131cf283d3b655c01fb6db15dd60c
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