Jelajahi Sumber

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 tahun lalu
induk
melakukan
fc10020292
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      arch/sh/drivers/dma/Kconfig

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

@@ -10,8 +10,8 @@ config SH_DMA
 	default n
 	default n
 
 
 config NR_ONCHIP_DMA_CHANNELS
 config NR_ONCHIP_DMA_CHANNELS
+	int
 	depends on SH_DMA
 	depends on SH_DMA
-	int "Number of on-chip DMAC channels"
 	default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R
 	default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R
 	default "12" if CPU_SUBTYPE_SH7780
 	default "12" if CPU_SUBTYPE_SH7780
 	default "4"
 	default "4"