From d767cc461fb8d1763d86a670dd9c9f1b3c4579d5 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Tue, 14 Jul 2026 20:03:59 +0100 Subject: [PATCH] drm/bridge: lontium-lt8912b: make read-only const array supply_names static Don't populate the read-only const array supply_names on the stack at run time, instead make it static Signed-off-by: Colin Ian King Reviewed-by: Luca Ceresoli Acked-by: Francesco Dolcini Link: https://patch.msgid.link/20260714190400.194605-1-colin.i.king@gmail.com Signed-off-by: Luca Ceresoli --- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c index df5d07e7644c..515e86f8c301 100644 --- a/drivers/gpu/drm/bridge/lontium-lt8912b.c +++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c @@ -677,7 +677,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(lt8912_bridge_pm_ops, lt8912_bridge_suspend, lt8 static int lt8912_get_regulators(struct lt8912 *lt) { unsigned int i; - const char * const supply_names[] = { + static const char * const supply_names[] = { "vdd", "vccmipirx", "vccsysclk", "vcclvdstx", "vcchdmitx", "vcclvdspll", "vcchdmipll" };