]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: st7703: Make jh057n00900_panel_desc static
authorJason Yan <yanaijie@huawei.com>
Sat, 12 Sep 2020 03:38:09 +0000 (11:38 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 17 Oct 2020 06:13:22 +0000 (08:13 +0200)
commit2e851ff4471eab4972290661764564c9c5645340
treedeb2bb8eeacf2160f15e915d4171c06d7a164d65
parent9ad06e675e7c91ecc6a5a3d5edd822cb8d81b3ef
drm/panel: st7703: Make jh057n00900_panel_desc static

This eliminates the following sparse warning:

drivers/gpu/drm/panel/panel-sitronix-st7703.c:156:26: warning: symbol
'jh057n00900_panel_desc' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
[Use static const]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200912033809.142773-1-yanaijie@huawei.com
drivers/gpu/drm/panel/panel-sitronix-st7703.c