]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hisilicon: Adding a const declaration to an invariant construct
authorTian Tao <tiantao6@hisilicon.com>
Thu, 29 Oct 2020 07:11:45 +0000 (15:11 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Sat, 31 Oct 2020 00:38:30 +0000 (20:38 -0400)
commit019aac0653595af09da5817899e1d4f643baa967
tree07f7bfcb1522a9facf246b764dc34a10e04809d5
parentbc645fa13233e80affe71d73cde3b2de66826382
drm/hisilicon: Adding a const declaration to an invariant construct

Some constructs cannot be changed after being assigned a value,
so add const declarations to invariant constructs.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1603955505-43942-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c