ALSA: hda: hda_component: Include sound/hda_codec.h
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 7 Mar 2024 11:12:16 +0000 (11:12 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Mar 2024 16:27:46 +0000 (17:27 +0100)
commit85b4f2a6efc933b742e447604df88f1f098ec080
tree6daff3bad62f7eddd4fb57831a31151a6a5e345a
parent27219a5b3285dffb6e2e1b915a0ccdbf07f9a3a0
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 <rf@opensource.cirrus.com>
Message-ID: <20240307111216.45053-2-rf@opensource.cirrus.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_component.h