From: Takashi Iwai <tiwai@suse.de>
To: Fabian Frederick <fabf@skynet.be>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1 linux-next] ALSA: opl3: don't opencode IS_REACHABLE()
Date: Sat, 12 Nov 2016 10:18:14 +0100 [thread overview]
Message-ID: <s5htwbddpk9.wl-tiwai@suse.de> (raw)
In-Reply-To: <1478939313-27630-1-git-send-email-fabf@skynet.be>
On Sat, 12 Nov 2016 09:28:33 +0100,
Fabian Frederick wrote:
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
Applied, thanks.
Takashi
> ---
> sound/drivers/opl3/opl3_lib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c
> index 369cef2..cd9e9f3 100644
> --- a/sound/drivers/opl3/opl3_lib.c
> +++ b/sound/drivers/opl3/opl3_lib.c
> @@ -528,7 +528,7 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
>
> opl3->hwdep = hw;
> opl3->seq_dev_num = seq_device;
> -#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
> +#if IS_REACHABLE(CONFIG_SND_SEQUENCER)
> if (snd_seq_device_new(card, seq_device, SNDRV_SEQ_DEV_ID_OPL3,
> sizeof(struct snd_opl3 *), &opl3->seq_dev) >= 0) {
> strcpy(opl3->seq_dev->name, hw->name);
> --
> 2.7.4
>
prev parent reply other threads:[~2016-11-12 9:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-12 8:28 Fabian Frederick
2016-11-12 9:18 ` Takashi Iwai [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=s5htwbddpk9.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=fabf@skynet.be \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®