]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b91a87e9b7e83b922a46e4441a7174bcb7fdbe4
tree976e1175b5495c7388d67e81c3754811c6d3f895
parent0c2f0b2e6acdabaa67a97a2596a41ee1e7c2eb42
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: fbcbab881695 ('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