From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
To: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.com>,
Andrew Morton <akpm@linux-foundation.org>,
Mauro Carvalho Chehab <mchehab@infradead.org>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH] sound, isapnp: allow building more drivers with COMPILE_TEST
Date: Tue, 24 Apr 2018 10:34:04 +0200 [thread overview]
Message-ID: <d6007528-98a3-492a-e1d3-d43c23bf3a09@intel.com> (raw)
In-Reply-To: <082977bdb133dc0570f690d3f3a120207f1d63f1.1524229123.git.mchehab@s-opensource.com>
On 4/20/2018 2:58 PM, Mauro Carvalho Chehab wrote:
> 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.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
> ---
> drivers/pnp/isapnp/Kconfig | 2 +-
> sound/isa/Kconfig | 6 +++---
> 2 files changed, 4 insertions(+), 4 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>.
> diff --git a/sound/isa/Kconfig b/sound/isa/Kconfig
> index d2a6cdd0395c..43b35a873d78 100644
> --- a/sound/isa/Kconfig
> +++ b/sound/isa/Kconfig
> @@ -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
> @@ -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
> @@ -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
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
prev parent reply other threads:[~2018-04-24 8:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-20 12:58 [PATCH] sound, isapnp: allow building more drivers with COMPILE_TEST Mauro Carvalho Chehab
2018-04-20 13:07 ` Takashi Iwai
2018-04-24 8:34 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d6007528-98a3-492a-e1d3-d43c23bf3a09@intel.com \
--to=rafael.j.wysocki@intel.com \
--cc=akpm@linux-foundation.org \
--cc=alsa-devel@alsa-project.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=mchehab@s-opensource.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox