Prechádzať zdrojové kódy

sh: Make on-chip DMA channel selection explicit.

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>
Paul Mundt 18 rokov pred
rodič
commit
fc10020292
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      arch/sh/drivers/dma/Kconfig

+ 1 - 1
arch/sh/drivers/dma/Kconfig

@@ -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"