Drivers that depend on ISAPNP currently can't be built with
COMPILE_TEST. However, looking at isapnp.h, there are already
stubs there to allow drivers to include it even when isa
PNP is not supported.
So, remove such dependencies when COMPILE_TEST.
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
 #
 config ISAPNP
        bool "ISA Plug and Play support"
-       depends on ISA
+       depends on ISA || COMPILE_TEST
        help
          Say Y here if you would like support for ISA Plug and Play devices.
          Some information is in <file:Documentation/isapnp.txt>.
 
 
 config SND_AD1816A
        tristate "Analog Devices SoundPort AD1816A"
-       depends on PNP && ISA
+       depends on PNP
        select ISAPNP
        select SND_OPL3_LIB
        select SND_MPU401_UART
 
 config SND_ALS100
        tristate "Diamond Tech. DT-019x and Avance Logic ALSxxx"
-       depends on PNP && ISA
+       depends on PNP
        select ISAPNP
        select SND_OPL3_LIB
        select SND_MPU401_UART
 
 config SND_AZT2320
        tristate "Aztech Systems AZT2320"
-       depends on PNP && ISA
+       depends on PNP
        select ISAPNP
        select SND_OPL3_LIB
        select SND_MPU401_UART