]> git.baikalelectronics.ru Git - kernel.git/commit
sound/oss: remove VIRT_TO_BUS dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 9 Dec 2015 13:37:05 +0000 (14:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Dec 2015 13:40:51 +0000 (14:40 +0100)
commit1cb26c0a2a535490a2bba7dfa35358c475966627
tree4c21a394aadef6ee84f721781824e4e6cb4a74e3
parent17deca21d87e4415178325a3ee3bab6b441ddb08
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>
sound/oss/Kconfig