Skip to content

Commit ad6639f

Browse files
d3athjest3rtiwai
authored andcommitted
sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
When building for the UM arch and neither INDIRECT_IOMEM=y, nor HAS_IOMEM=y is selected, it will fall back to the implementations from asm-generic/io.h for IO memcpy. But these fall-back functions just do a memcpy. So, instead of depending on UML, add dependency on 'HAS_IOMEM || INDIRECT_IOMEM'. Reviewed-by: Yann Sionneau <[email protected]> Signed-off-by: Julian Vetter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 122fe6e commit ad6639f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
menuconfig SOUND
33
tristate "Sound card support"
4-
depends on HAS_IOMEM || UML
4+
depends on HAS_IOMEM || INDIRECT_IOMEM
55
help
66
If you have a sound card in your computer, i.e. if it can say more
77
than an occasional beep, say Y.

0 commit comments

Comments
 (0)