]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Enable ISA_DMA_API config to fix build failure
authorNamhyung Kim <namhyung@gmail.com>
Mon, 18 Oct 2010 03:55:21 +0000 (12:55 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 18 Oct 2010 15:59:04 +0000 (16:59 +0100)
commit70c98fce676039dc32d087c554167146d12fb35a
tree7c49e6acf40ebe95824ecb55315702bd115b6d89
parenta8b191cdd0304bd8d5473abb6c87a936724288a2
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>
arch/mips/Kconfig