From 987b90d34f695117bf630560fd891cf0568d10c5 Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Thu, 27 Feb 2020 09:41:46 +0800 Subject: [PATCH] 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 --- drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,