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>
This commit is contained in:
committed by
Takashi Iwai
parent
27219a5b32
commit
85b4f2a6ef
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <linux/acpi.h>
|
||||
#include <linux/component.h>
|
||||
#include <sound/hda_codec.h>
|
||||
|
||||
#define HDA_MAX_COMPONENTS 4
|
||||
#define HDA_MAX_NAME_SIZE 50
|
||||
|
||||
Reference in New Issue
Block a user