Skip to content
Unverified Commit a62bd638 authored by YueHaibing's avatar YueHaibing Committed by Mark Brown
Browse files

ASoC: SOF: Intel: Add missing include file hdac_hda.h



Building with SND_SOC_SOF_HDA_AUDIO_CODEC fails:

sound/soc/sof/intel/hda-bus.c: In function sof_hda_bus_init:
sound/soc/sof/intel/hda-bus.c:16:25: error: implicit declaration of function
 snd_soc_hdac_hda_get_ops; did you mean snd_soc_jack_add_gpiods? [-Werror=implicit-function-declaration]
 #define sof_hda_ext_ops snd_soc_hdac_hda_get_ops()

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Suggested-by: default avatarTakashi Iwai <tiwai@suse.de>
Fixes: d4ff1b39 ('ASoC: SOF: Intel: Initialize hdaudio bus properly")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190809110100.71236-1-yuehaibing@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4604da66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment