diff options
author | kbuild test robot <lkp@intel.com> | 2020-02-27 09:41:46 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-02-27 09:26:18 -0600 |
commit | 987b90d34f695117bf630560fd891cf0568d10c5 (patch) | |
tree | c4b3e53306f2c88c43445c2d7b4d3436ab89a800 /drivers | |
parent | dma-buf: make move_notify mandatory if importer_ops are provided (diff) | |
download | linux-dev-987b90d34f695117bf630560fd891cf0568d10c5.tar.xz linux-dev-987b90d34f695117bf630560fd891cf0568d10c5.zip |
drm/panfrost: default_supplies[] can be static
Fixes: 3e1399bccf51 ("drm/panfrost: Add support for multiple regulators")
Signed-off-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227014100.GA61938@e50d7db646c3
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/panfrost/panfrost_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |