Skip to content

Commit

Permalink
drm/panfrost: default_supplies[] can be static
Browse files Browse the repository at this point in the history
Fixes: 3e1399b ("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
  • Loading branch information
kbuild test robot authored and Rob Herring committed Feb 27, 2020
1 parent 4981cdb commit 987b90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/panfrost/panfrost_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 987b90d

Please sign in to comment.