mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
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 <colin.i.king@gmail.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com> Link: https://patch.msgid.link/20260714190400.194605-1-colin.i.king@gmail.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
This commit is contained in:
parent
c093fd7539
commit
d767cc461f
|
|
@ -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"
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user