Skip to content

Commit 85b4f2a

Browse files
rfvirgiltiwai
authored andcommitted
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>
1 parent 27219a5 commit 85b4f2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/pci/hda/hda_component.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <linux/acpi.h>
1313
#include <linux/component.h>
14+
#include <sound/hda_codec.h>
1415

1516
#define HDA_MAX_COMPONENTS 4
1617
#define HDA_MAX_NAME_SIZE 50

0 commit comments

Comments
 (0)