]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd136b15c52e4c4fd835288603f1c6c306a5ac87f
tree8a8c0d70cc8e9922f2515cc4d0bb38cf2e741c6a
parent17ba2d121f8a951d93e5bfce3cfebc048915cf50
drm/nouveau/nvif: remove const attribute from nvif_mclass

Similar to commit 1541e12dc93d ("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