aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2012-08-19 22:59:59 +0200
committerBen Skeggs <bskeggs@redhat.com>2012-10-03 13:13:06 +1000
commite6626254f99be74bdae291a12c3981b996de6409 (patch)
treef95ed355e1765ae9a547059b91439d894379f32e /drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c
parentdrm/nouveau/fifo: use defines instead of hardcoded class ids (diff)
downloadlinux-dev-e6626254f99be74bdae291a12c3981b996de6409.tar.xz
linux-dev-e6626254f99be74bdae291a12c3981b996de6409.zip
drm/nouveau: constify instances of nouveau_bitfield and nouveau_enum structs
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c b/drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c
index 198989b21c28..1d85e5b66ca0 100644
--- a/drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c
+++ b/drivers/gpu/drm/nouveau/core/engine/crypt/nv84.c
@@ -122,7 +122,7 @@ nv84_crypt_cclass = {
* PCRYPT engine/subdev functions
******************************************************************************/
-static struct nouveau_bitfield nv84_crypt_intr_mask[] = {
+static const struct nouveau_bitfield nv84_crypt_intr_mask[] = {
{ 0x00000001, "INVALID_STATE" },
{ 0x00000002, "ILLEGAL_MTHD" },
{ 0x00000004, "ILLEGAL_CLASS" },