]> 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)
commit42b717308aa827a29ce0264d4ef085ef8501c5b5
tree174b394bb39cded98a3812daecd7d90129cd0fc0
parent5bf8a3469be7370e596bd6bb8565644783c831c8
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