On Tue, Oct 1, 2019 at 4:27 PM Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> wrote: > > -obj-$(CONFIG_SND_ATMEL_SOC_PDC) += snd-soc-atmel-pcm-pdc.o > > -obj-$(CONFIG_SND_ATMEL_SOC_DMA) += snd-soc-atmel-pcm-dma.o > > +# pdc and dma need to both be built-in if any user of > > +# ssc is built-in. > > +ifdef CONFIG_SND_ATMEL_SOC_PDC > > +obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel-pcm-pdc.o > > +endif > > +ifdef CONFIG_SND_ATMEL_SOC_DMA > > +obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel-pcm-dma.o > > +endif > > Doesn't that prevent them to be built as a module at all? > I'm not sure there is a use case though. It should not: the idea was that snd-soc-atmel-pcm-{pdc,dma}.o get built as modules if CONFIG_SND_ATMEL_SOC_SSC=m. arnd _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel