aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-17 23:55:21 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-10-18 11:59:04 -0400
commita35bee8a2748abe9a40865f477aba0a9b85965fd (patch)
tree7c49e6acf40ebe95824ecb55315702bd115b6d89
parent063c13a5adbd0ab3110cbefcf9ba5aeb103a84ac (diff)
MIPS: Enable ISA_DMA_API config to fix build failure
Add ISA_DMA_API config item and select it when GENERIC_ISA_DMA enabled. This fixes build failure on allmodconfig like following: CC sound/isa/es18xx.o sound/isa/es18xx.c: In function 'snd_es18xx_playback1_prepare': sound/isa/es18xx.c:501:9: error: implicit declaration of function 'snd_dma_program' sound/isa/es18xx.c: In function 'snd_es18xx_playback_pointer': sound/isa/es18xx.c:818:3: error: implicit declaration of function 'snd_dma_pointer' make[3]: *** [sound/isa/es18xx.o] Error 1 make[2]: *** [sound/isa/es18xx.o] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1717/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 3ad59dde4852..2d3cf3890904 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -880,11 +880,15 @@ config NO_IOPORT
880config GENERIC_ISA_DMA 880config GENERIC_ISA_DMA
881 bool 881 bool
882 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n 882 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
883 select ISA_DMA_API
883 884
884config GENERIC_ISA_DMA_SUPPORT_BROKEN 885config GENERIC_ISA_DMA_SUPPORT_BROKEN
885 bool 886 bool
886 select GENERIC_ISA_DMA 887 select GENERIC_ISA_DMA
887 888
889config ISA_DMA_API
890 bool
891
888config GENERIC_GPIO 892config GENERIC_GPIO
889 bool 893 bool
890 894