diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-12-09 14:37:05 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-12-09 14:40:51 +0100 |
commit | c83d1b37d45a2ecaea7a6ba4ea010f717bdb2740 (patch) | |
tree | 4c21a394aadef6ee84f721781824e4e6cb4a74e3 /sound/oss | |
parent | fbaf9f9f6158a9c07652df88dd0bd68132b93292 (diff) | |
download | op-kernel-dev-c83d1b37d45a2ecaea7a6ba4ea010f717bdb2740.zip op-kernel-dev-c83d1b37d45a2ecaea7a6ba4ea010f717bdb2740.tar.gz |
sound/oss: remove VIRT_TO_BUS dependency
The OSS sound drivers used to rely on virt_to_bus(), but don't any more,
so we can remove the Kconfig dependency.
As a lot of architectures don't provide VIRT_TO_BUS any more, removing
the dependency in sounds/oss/ would make the deprecated drivers appear
there, which we probably don't want. Instead I'm replacing the
simple dependency with 'VIRT_TO_BUS || RPC || NETWINDER' so we can
still build these sound drivers for the platforms that need them,
but don't change anything on other architectures.
As a follow-up, we can remove the virt_to_bus() implementation
and Kconfig symbol in the ARM architecture.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss')
-rw-r--r-- | sound/oss/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig index 48568fd..4033fe5 100644 --- a/sound/oss/Kconfig +++ b/sound/oss/Kconfig @@ -240,7 +240,7 @@ config MSND_FIFOSIZE menuconfig SOUND_OSS tristate "OSS sound modules" - depends on ISA_DMA_API && VIRT_TO_BUS + depends on ISA_DMA_API && (VIRT_TO_BUS || ARCH_RPC || ARCH_NETWINDER) depends on !GENERIC_ISA_DMA_SUPPORT_BROKEN help OSS is the Open Sound System suite of sound card drivers. They make |