Commit b9f55e04 authored by Timur Kristóf's avatar Timur Kristóf Committed by Alex Deucher
Browse files

drm/amd/display: Fix warning for analog stream encoders



Fixes the following warning that some users are reporting
with some kernel configurations:

"positional initialization of field in 'struct' declared
with 'designated_init' attribute"

Signed-off-by: default avatarTimur Kristóf <timur.kristof@gmail.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Acked-by: default avatarKees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20251113163348.137315-2-timur.kristof@gmail.com


Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 527ba26e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1568,7 +1568,7 @@ void dce110_stream_encoder_construct(
	enc110->se_mask = se_mask;
}

static const struct stream_encoder_funcs dce110_an_str_enc_funcs = {0};
static const struct stream_encoder_funcs dce110_an_str_enc_funcs = {};

void dce110_analog_stream_encoder_construct(
	struct dce110_stream_encoder *enc110,