]> err.no Git - linux-2.6/commitdiff
sh: Make on-chip DMA channel selection explicit.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 05:24:57 +0000 (14:24 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 05:24:57 +0000 (14:24 +0900)
Currently this has a prompt to allow users to change it. There's
no reason to do this, and it has caused breakage and confusion
in the past, so remove it entirely.

We'll get rid of this when the whole driver is tidied for
the driver model.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/Kconfig

index 93cc6a4fb92ef26733d332018e9f9b302de4d0c0..ee711431e50451805a8580d3a5368fcaf268279d 100644 (file)
@@ -10,8 +10,8 @@ config SH_DMA
        default n
 
 config NR_ONCHIP_DMA_CHANNELS
+       int
        depends on SH_DMA
-       int "Number of on-chip DMAC channels"
        default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R
        default "12" if CPU_SUBTYPE_SH7780
        default "4"