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)
commite39fbc26ab6ae6cbb76752b4d357ffedd911a1c6
tree174b394bb39cded98a3812daecd7d90129cd0fc0
parent243131134be4bf577647110d39c64fc406c608b0
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