ASoC: SOF: Intel: Add missing include file hdac_hda.h
authorYueHaibing <yuehaibing@huawei.com>
Fri, 9 Aug 2019 11:01:00 +0000 (19:01 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 9 Aug 2019 12:24:20 +0000 (13:24 +0100)
commita62bd63893027bfa32fccbba0e0ac067824c362c
tree976e1175b5495c7388d67e81c3754811c6d3f895
parent4604da661ff175e4e3a2284f38d978aba9cc04fd
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: Hulk Robot <hulkci@huawei.com>
Suggested-by: Takashi Iwai <tiwai@suse.de>
Fixes: d4ff1b3917a5 ('ASoC: SOF: Intel: Initialize hdaudio bus properly")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190809110100.71236-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-bus.c
sound/soc/sof/intel/hda.c