Commit 987b90d3 authored by kbuild test robot's avatar kbuild test robot Committed by Rob Herring

drm/panfrost: default_supplies[] can be static

Fixes: 3e1399bc ("drm/panfrost: Add support for multiple regulators")
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Reviewed-by: default avatarNicolas Boichat <drinkcat@chromium.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227014100.GA61938@e50d7db646c3
parent 4981cdb0
No related merge requests found
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment