Skip to content

Commit 99bd9a4

Browse files
sravnborgandreas-gaisler
authored andcommitted
sparc32: Do not select GENERIC_ISA_DMA
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 <[email protected]> Fixes: 0fcb708 ("Makefile.extrawarn: turn on missing-prototypes globally") Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> # build-tested Cc: Andreas Larsson <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Maciej W. Rozycki <[email protected]> Reviewed-by: Andreas Larsson <[email protected]> Signed-off-by: Andreas Larsson <[email protected]> Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-5-1f186603c5c4@ravnborg.org
1 parent 6892982 commit 99bd9a4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/sparc/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ config HIGHMEM
138138
default y if SPARC32
139139
select KMAP_LOCAL
140140

141-
config GENERIC_ISA_DMA
142-
bool
143-
default y if SPARC32
144-
145141
config PGTABLE_LEVELS
146142
default 4 if 64BIT
147143
default 3

0 commit comments

Comments
 (0)