From: Stijn Tintel <stijn@linux-ipv6.be>
Date: Fri, 7 Dec 2018 00:41:28 +0000 (+0200)
Subject: brcm2708: prepare kmod-sound-raspidac3 for 4.14
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1d6b080dc3b0b601a354e7b3965955389c8705cb;p=openwrt%2Fstaging%2Fnbd.git

brcm2708: prepare kmod-sound-raspidac3 for 4.14

Support for RaspiDac3 has been removed from the rpi-4.14.y kernel tree.
Make the kmod package depend on kernel 4.9.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
---

diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index f566776194..4f6e8d8898 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -436,6 +436,7 @@ define KernelPackage/sound-soc-raspidac3
   AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c \
 	snd-soc-tpa6130a2 snd-soc-raspidac3)
   DEPENDS:= \
+	@LINUX_4_9 \
 	kmod-sound-soc-bcm2835-i2s \
 	+kmod-i2c-bcm2708
   $(call AddDepends/sound)