]> 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)
commit805d54b83c2f9cf093296ea6f1e54abf79f501eb
tree8a8c0d70cc8e9922f2515cc4d0bb38cf2e741c6a
parent7bde629cde33581986a9147d154229d8959aebfc
drm/nouveau/nvif: remove const attribute from nvif_mclass

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