mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-11 08:14:27 +08:00
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
This commit is contained in:
parent
4981cdb063
commit
987b90d34f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user