]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: samsung: make vint_table static const
authorJason Yan <yanaijie@huawei.com>
Wed, 16 Sep 2020 13:23:01 +0000 (21:23 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 21 Sep 2020 20:39:02 +0000 (22:39 +0200)
commit4c6df5b69584349a1f7fb721e70e37aab47d28c9
tree5572fbe39743b6aca334008acd167d1913258acc
parentc15939d3f83a896ecc822ee961f48360612124ea
drm/panel: samsung: make vint_table static const

This eliminates the following sparse warning:

drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:217:15: warning: symbol
'vint_table' was not declared. Should it be static?

While at it, make the table const as it is never modified.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200916132301.2914017-1-yanaijie@huawei.com
drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c