From: kbuild test robot Date: Thu, 27 Feb 2020 01:41:46 +0000 (+0800) Subject: drm/panfrost: default_supplies[] can be static X-Git-Tag: v5.15~303^2~28^2~3342 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=987b90d34f695117bf630560fd891cf0568d10c5;p=platform%2Fkernel%2Flinux-starfive.git drm/panfrost: default_supplies[] can be static Fixes: 3e1399bccf51 ("drm/panfrost: Add support for multiple regulators") Signed-off-by: kbuild test robot Reviewed-by: Nicolas Boichat Signed-off-by: Rob Herring Link: https://patchwork.freedesktop.org/patch/msgid/20200227014100.GA61938@e50d7db646c3 --- diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c index a6e162236d67..882fecc33fdb 100644 --- a/drivers/gpu/drm/panfrost/panfrost_drv.c +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c @@ -659,7 +659,7 @@ static int panfrost_remove(struct platform_device *pdev) return 0; } -const char * const default_supplies[] = { "mali" }; +static const char * const default_supplies[] = { "mali" }; static const struct panfrost_compatible default_data = { .num_supplies = ARRAY_SIZE(default_supplies), .supply_names = default_supplies,