Skip to content

Commit 162079f

Browse files
rddunlapstorulf
authored andcommitted
mmc: winbond: don't build on M68K
The Winbond MMC driver fails to build on ARCH=m68k so prevent that build config. Silences these build errors: ../drivers/mmc/host/wbsd.c: In function 'wbsd_request_end': ../drivers/mmc/host/wbsd.c:212:28: error: implicit declaration of function 'claim_dma_lock' [-Werror=implicit-function-declaration] 212 | dmaflags = claim_dma_lock(); ../drivers/mmc/host/wbsd.c:215:17: error: implicit declaration of function 'release_dma_lock'; did you mean 'release_task'? [-Werror=implicit-function-declaration] 215 | release_dma_lock(dmaflags); Signed-off-by: Randy Dunlap <[email protected]> Cc: Pierre Ossman <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 9af372d commit 162079f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ config MMC_OMAP_HS
506506

507507
config MMC_WBSD
508508
tristate "Winbond W83L51xD SD/MMC Card Interface support"
509-
depends on ISA_DMA_API
509+
depends on ISA_DMA_API && !M68K
510510
help
511511
This selects the Winbond(R) W83L51xD Secure digital and
512512
Multimedia card Interface.

0 commit comments

Comments
 (0)