Commit e39fbc26 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 24313113
...@@ -368,7 +368,8 @@ config RADIO_GEMTEK_PROBE ...@@ -368,7 +368,8 @@ config RADIO_GEMTEK_PROBE
config RADIO_MIROPCM20 config RADIO_MIROPCM20
tristate "miroSOUND PCM20 radio" tristate "miroSOUND PCM20 radio"
depends on ISA && ISA_DMA_API && VIDEO_V4L2 && SND depends on ISA || COMPILE_TEST
depends on ISA_DMA_API && VIDEO_V4L2 && SND
select SND_ISA select SND_ISA
select SND_MIRO select SND_MIRO
---help--- ---help---
......
...@@ -20,7 +20,8 @@ config SND_SB16_DSP ...@@ -20,7 +20,8 @@ config SND_SB16_DSP
menuconfig SND_ISA menuconfig SND_ISA
bool "ISA sound devices" bool "ISA sound devices"
depends on ISA && ISA_DMA_API depends on ISA || COMPILE_TEST
depends on ISA_DMA_API
default y default y
help help
Support for sound devices connected via the ISA bus. Support for sound devices connected via the ISA bus.
...@@ -38,7 +39,7 @@ config SND_ADLIB ...@@ -38,7 +39,7 @@ config SND_ADLIB
config SND_AD1816A config SND_AD1816A
tristate "Analog Devices SoundPort AD1816A" tristate "Analog Devices SoundPort AD1816A"
depends on PNP depends on PNP && ISA
select ISAPNP select ISAPNP
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
...@@ -66,7 +67,7 @@ config SND_AD1848 ...@@ -66,7 +67,7 @@ config SND_AD1848
config SND_ALS100 config SND_ALS100
tristate "Diamond Tech. DT-019x and Avance Logic ALSxxx" tristate "Diamond Tech. DT-019x and Avance Logic ALSxxx"
depends on PNP depends on PNP && ISA
select ISAPNP select ISAPNP
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
...@@ -107,7 +108,7 @@ config SND_AZT2316 ...@@ -107,7 +108,7 @@ config SND_AZT2316
config SND_AZT2320 config SND_AZT2320
tristate "Aztech Systems AZT2320" tristate "Aztech Systems AZT2320"
depends on PNP depends on PNP && ISA
select ISAPNP select ISAPNP
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment