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)
commitdbc8c28a742d70644341148b436facb64e56641b
tree07f7bfcb1522a9facf246b764dc34a10e04809d5
parent4dbafbd30aefcc1e56086875c5aa940490c0a9c3
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