Prior to kernel 4.4, the hda-intel module depends on the hda-controller
utility submodule so bundle it for the older kernel versions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
CONFIG_SOUND_PCI \
CONFIG_SND_HDA_INTEL
FILES:= \
- $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko
- AUTOLOAD:=$(call AutoProbe,snd-hda-intel)
+ $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
+ $(LINUX_DIR)/sound/pci/hda/snd-hda-controller.ko@lt4.4
+ AUTOLOAD:=$(call AutoProbe,snd-hda-controller@lt4.4 snd-hda-intel)
$(call AddDepends/sound,kmod-sound-hda-core)
endef