Prechádzať zdrojové kódy

ASoC: codecs: Compile wcd irq as part of CONFIG_SND_SOC_WCD_IRQ

Add separate config for generic IRQ using regmap-irq and
compile it as a part of wcd_core ko.

Change-Id: I844ad72bf039c851a67d968e4b67c10105389932
Signed-off-by: Vatsal Bucha <[email protected]>
Vatsal Bucha 6 rokov pred
rodič
commit
ec5eab5556
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      asoc/codecs/Kbuild

+ 4 - 0
asoc/codecs/Kbuild

@@ -141,6 +141,10 @@ ifdef CONFIG_SND_SOC_MSM_HDMI_CODEC_RX
 	HDMICODEC_OBJS += msm_hdmi_codec_rx.o
 endif
 
+ifdef CONFIG_SND_SOC_WCD_IRQ
+	CORE_OBJS += wcd-irq.o
+endif
+
 LINUX_INC +=	-Iinclude/linux
 
 INCS +=		$(COMMON_INC) \