drm/nouveau/nvif: remove const attribute from nvif_mclass
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 15 Jun 2018 23:00:42 +0000 (16:00 -0700)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 Jul 2018 08:06:29 +0000 (18:06 +1000)
commitc9fb2cc84c31910e710cdd8d67a01473170ea67d
tree8a8c0d70cc8e9922f2515cc4d0bb38cf2e741c6a
parentda71f0efe714ecf71d450f882b94e2acd8e0c3c0
drm/nouveau/nvif: remove const attribute from nvif_mclass

Similar to commit 0bf8bf50eddc ("module: Remove
const attribute from alias for MODULE_DEVICE_TABLE")

Fixes many -Wduplicate-decl-specifier warnings due to the combination of
const typeof() of already const variables.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvif/object.h