From: Richard Fitzgerald Date: Thu, 7 Mar 2024 11:12:16 +0000 (+0000) Subject: ALSA: hda: hda_component: Include sound/hda_codec.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=85b4f2a6efc933b742e447604df88f1f098ec080;p=linux.git ALSA: hda: hda_component: Include sound/hda_codec.h hda_component.h uses hda_codec_dev from sound/hda_codec.h. Include sound/hda_codec.h instead of assuming that it has already been included by the parent .c file. This isn't causing any problems with current code, so no need to backport to older kernels. Signed-off-by: Richard Fitzgerald Message-ID: <20240307111216.45053-2-rf@opensource.cirrus.com> Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_component.h b/sound/pci/hda/hda_component.h index a0fcc723483d3..c80a66691b5d8 100644 --- a/sound/pci/hda/hda_component.h +++ b/sound/pci/hda/hda_component.h @@ -11,6 +11,7 @@ #include #include +#include #define HDA_MAX_COMPONENTS 4 #define HDA_MAX_NAME_SIZE 50