diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-20 14:53:49 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-20 16:53:45 +0200 |
commit | da112f13996de6e8dc0011f77ce8f7d0353dd14e (patch) | |
tree | de9cb31943626f4f6a562f6377b803475b3edc96 /drivers/pnp | |
parent | media: sound, media: allow building ISA drivers it with COMPILE_TEST (diff) | |
download | linux-da112f13996de6e8dc0011f77ce8f7d0353dd14e.tar.xz linux-da112f13996de6e8dc0011f77ce8f7d0353dd14e.zip |
media: sound, isapnp: allow building more drivers with COMPILE_TEST
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>
Diffstat (limited to 'drivers/pnp')
-rw-r--r-- | drivers/pnp/isapnp/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/isapnp/Kconfig b/drivers/pnp/isapnp/Kconfig index f1ef36673ad4..a1af146d2d90 100644 --- a/drivers/pnp/isapnp/Kconfig +++ b/drivers/pnp/isapnp/Kconfig @@ -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>. |