1
0
Fork 0

drm/panfrost: default_supplies[] can be static

Fixes: 3e1399bccf ("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
alistair/sensors
kbuild test robot 2020-02-27 09:41:46 +08:00 committed by Rob Herring
parent 4981cdb063
commit 987b90d34f
1 changed files with 1 additions and 1 deletions

View File

@ -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,