drm/panel: s6e3ha8: add static modifier to supply list
authorDzmitry Sankouski <dsankouski@gmail.com>
Mon, 21 Oct 2024 13:52:36 +0000 (16:52 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 23 Oct 2024 07:36:29 +0000 (09:36 +0200)
Add 'static' modifier to panel supply list.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410160810.0jaNgxB2-lkp@intel.com/
Fixes: 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver")
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20241021-starqltechn_upstream_integration_panel_fix-v1-1-81776e89052a@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241021-starqltechn_upstream_integration_panel_fix-v1-1-81776e89052a@gmail.com
drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c

index 76b5a6e..64c6f7d 100644 (file)
@@ -24,7 +24,7 @@ struct s6e3ha8 {
        struct regulator_bulk_data *supplies;
 };
 
-const struct regulator_bulk_data s6e3ha8_supplies[] = {
+static const struct regulator_bulk_data s6e3ha8_supplies[] = {
        { .supply = "vdd3" },
        { .supply = "vci" },
        { .supply = "vddr" },