Skip to content

Commit

Permalink
media: sound, isapnp: allow building more drivers with COMPILE_TEST
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Apr 20, 2018
1 parent e39fbc2 commit da112f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/pnp/isapnp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
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>.
Expand Down
6 changes: 3 additions & 3 deletions sound/isa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ config SND_ADLIB

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
Expand Down Expand Up @@ -67,7 +67,7 @@ config SND_AD1848

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
Expand Down Expand Up @@ -108,7 +108,7 @@ config SND_AZT2316

config SND_AZT2320
tristate "Aztech Systems AZT2320"
depends on PNP && ISA
depends on PNP
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
Expand Down

0 comments on commit da112f1

Please sign in to comment.