[Linux-parport] [PATCH v2 5/7] sparc32: Do not select GENERIC_ISA_DMA
Sam Ravnborg via B4 Relay
devnull+sam.ravnborg.org at kernel.org
Sat Feb 24 09:42:26 PST 2024
From: Sam Ravnborg <sam at ravnborg.org>
sparc32 do not support generic isa dma, so do not select the symbol.
This fixes the following warnings:
dma.c:70:5: error: no previous prototype for 'request_dma' [-Werror=missing-prototypes]
dma.c:88:6: error: no previous prototype for 'free_dma' [-Werror=missing-prototypes]
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally")
Acked-by: Randy Dunlap <rdunlap at infradead.org>
Tested-by: Randy Dunlap <rdunlap at infradead.org> # build-tested
Cc: Andreas Larsson <andreas at gaisler.com>
Cc: "David S. Miller" <davem at davemloft.net>
Cc: Randy Dunlap <rdunlap at infradead.org>
Cc: Maciej W. Rozycki <macro at orcam.me.uk>
---
arch/sparc/Kconfig | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index bdbde506c01e..440e53d37d20 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -137,10 +137,6 @@ config HIGHMEM
default y if SPARC32
select KMAP_LOCAL
-config GENERIC_ISA_DMA
- bool
- default y if SPARC32
-
config PGTABLE_LEVELS
default 4 if 64BIT
default 3
--
2.34.1
More information about the Linux-parport
mailing list