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: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20251113163348.137315-2-timur.kristof@gmail.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Timur Kristóf 2025-11-13 17:33:45 +01:00 committed by Alex Deucher
parent 527ba26e50
commit b9f55e04ef

View File

@ -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,