From: Arnd Bergmann Date: Thu, 5 Jun 2014 10:40:04 +0000 (+0200) Subject: ASoC: MMP audio needs sram support X-Git-Tag: omap-for-v3.17/fixes-against-rc2~29^2~4^2~5^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ba4059c385544001031ecff1335e10b3365112c;p=pandora-kernel.git ASoC: MMP audio needs sram support Building the pxa/mmp audio driver without support for the mmp sram driver enabled results in this link error: sound/built-in.o: In function `mmp_pcm_free_dma_buffers': :(.text+0x3e734): undefined reference to `sram_get_gpool' sound/built-in.o: In function `mmp_pcm_new': :(.text+0x3e7c0): undefined reference to `sram_get_gpool' The sram driver is cannot be manually enabled and needs to be turned on by selecting MMP_SRAM from each module that needs it, which is what this patch does. Ideally, MMP should move over to the generic SRAM support, but for the moment, we can avoid the build error. Signed-off-by: Arnd Bergmann Signed-off-by: Mark Brown --- Reading git-diff-tree failed