[PATCH v3] drm/panel: samsung: make vint_table static const

Linus Walleij linus.walleij at linaro.org
Mon Sep 21 20:39:36 UTC 2020


On Wed, Sep 16, 2020 at 3:22 PM Jason Yan <yanaijie at huawei.com> wrote:

> 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 at huawei.com>
> Signed-off-by: Jason Yan <yanaijie at huawei.com>
> Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Patch applied to drm-misc-next.

Yours,
Linus Walleij


More information about the dri-devel mailing list