]> git.baikalelectronics.ru Git - kernel.git/commit
media: sound, media: allow building ISA drivers it with COMPILE_TEST
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 10:54:58 +0000 (06:54 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 14:53:21 +0000 (10:53 -0400)
commit1064f98eb901dec9b9531a0f00ee34c2ecb94177
tree174b394bb39cded98a3812daecd7d90129cd0fc0
parent5f197ebd59e111be7767ab41ce5c256ea413e6f2
media: sound, media: allow building ISA drivers it with COMPILE_TEST

All sound drivers that don't depend on PNP can be safelly
build with COMPILE_TEST, as ISA provides function stubs to
be used for such purposes.

As a side effect, with this change, the radio-miropcm20
can now be built outside i386 with COMPILE_TEST.

It should be noticed that ISAPNP currently depends on ISA.
So, on drivers that depend on it, we need to add an
explicit dependency on ISA, at least until another patch
removes it.

Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/Kconfig
sound/isa/Kconfig