drm/panfrost: default_supplies[] can be static
authorkbuild test robot <lkp@intel.com>
Thu, 27 Feb 2020 01:41:46 +0000 (09:41 +0800)
committerRob Herring <robh@kernel.org>
Thu, 27 Feb 2020 15:26:18 +0000 (09:26 -0600)
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
drivers/gpu/drm/panfrost/panfrost_drv.c

index a6e162236d67fdf41df0087b09944c3994c6a85d..882fecc33fdb1db9fbbd1b4c7089fd7b0692d559 100644 (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,